HiQPdf Documentation

PdfDocTableOfContentsInsertPdfStreamBefore Method

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

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

public void InsertPdfStreamBefore(
	Stream pdfStream,
	bool applyHeaderFooter,
	bool applyHeaderInFirstPage,
	bool applyFooterInFirstPage
)

Parameters

pdfStream
Type: System.IOStream
The PDF stream to insert
applyHeaderFooter
Type: SystemBoolean
Controls if the header and footer are applied on external PDF document
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