HiQPdf Documentation

PdfDocTableOfContentsInsertPdfDocumentBefore Method

Quickly Create High Quality PDFs
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

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

public void InsertPdfDocumentBefore(
	PdfDocument pdfDocument,
	bool applyHeaderFooter,
	bool applyHeaderInFirstPage,
	bool applyFooterInFirstPage
)

Parameters

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