HiQPdf Documentation

PdfDocumentAddDocument Method (PdfDocument, Int32, Int32, Boolean, Boolean, Boolean)

Quickly Create High Quality PDFs
Adds a range of pages from another document to the end of this document and optionally apply this document header and footer to the added document if the added document was loaded from external file or streams. The interactive features of the PDF documents loaded from external files or streams are disabled in the final document

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 14.0.0.0
Syntax

public void AddDocument(
	PdfDocument document,
	int from,
	int count,
	bool applyHeaderAndFooter,
	bool applyHeaderInFirstPage,
	bool applyFooterInFirstPage
)

Parameters

document
Type: HiQPdfPdfDocument
The document to add
from
Type: SystemInt32
The index of the first page to copy from added document
count
Type: SystemInt32
The number of pages to copy
applyHeaderAndFooter
Type: SystemBoolean
Controls is the header and footer of this document are applied to the added document if the added document was loaded from external file or streams
applyHeaderInFirstPage
Type: SystemBoolean
Controls if the header is applied in first page of the added document
applyFooterInFirstPage
Type: SystemBoolean
Controls if the footer is applied in first page of the added document
See Also

Reference