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

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

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
C#
public void AddDocument(
	int startIndex,
	PdfDocument document,
	bool applyHeaderAndFooter,
	bool applyHeaderInFirstPage,
	bool applyFooterInFirstPage
)

Parameters

startIndex  Int32
The page index where to insert the document
document  PdfDocument
The document to add
applyHeaderAndFooter  Boolean
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  Boolean
Controls if the header is applied in first page of the added document
applyFooterInFirstPage  Boolean
Controls if the footer is applied in first page of the added document

See Also