HiQPdf Documentation

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

Quickly Create High Quality PDFs
Adds another document in this document starting at the given page index 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: 15.0.0.0
Syntax

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

Parameters

startIndex
Type: SystemInt32
The page index where to insert the document
document
Type: HiQPdfPdfDocument
The document to add
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