PdfDocTableOfContentsInsertPdfStreamBefore Method

Call this method to insert a PDF from a stream before the table fo contents in the final document. The boolean parameter controls if the header and footer are applied on external PDF document. 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 InsertPdfStreamBefore(
	Stream pdfStream,
	bool applyHeaderFooter,
	bool applyHeaderInFirstPage,
	bool applyFooterInFirstPage
)

Parameters

pdfStream  Stream
The PDF stream to insert
applyHeaderFooter  Boolean
Controls if the header and footer are applied on external PDF document
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