PdfDocTableOfContentsInsertPdfDocumentBefore Method

Call this method to insert a PDF document object before the table of contents in the final document. The boolean parameter controls if the header and footer are applied on external PDF document loaded from a file or a stream. When the parameter is true the interactive features are disabled in the external PDF

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
C#
public void InsertPdfDocumentBefore(
	PdfDocument pdfDocument,
	bool applyHeaderFooter,
	bool applyHeaderInFirstPage,
	bool applyFooterInFirstPage
)

Parameters

pdfDocument  PdfDocument
The PDF document object to insert
applyHeaderFooter  Boolean
Controls if the header and footer are applied on external PDF document loaded from a file or a stream
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