PdfDocumentControlInsertPdfStreamBefore(Stream, Boolean, Boolean, Boolean) Method
Call this method to insert a PDF from a stream before the HTML to PDF conversion 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: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 18.0.0
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