PdfDocumentTableOfContentsAddStartDocument(Stream, Boolean, Boolean, Boolean) Method
Adds a PDF document from the given stream before the table of contents. If the
AutoCloseExternalDocs property is true the
added document will be automatically closed when the final document is closed or saved
Namespace: WinnovativeAssembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
public void AddStartDocument(
Stream pdfStream,
bool enableHeaderAndFooter,
bool drawHeaderOnFirstPage,
bool drawFooterOnFirstPage
)
Public Sub AddStartDocument (
pdfStream As Stream,
enableHeaderAndFooter As Boolean,
drawHeaderOnFirstPage As Boolean,
drawFooterOnFirstPage As Boolean
)
Parameters
- pdfStream Stream
- The stream from where to read the PDF document to be inserted before the table of contents
- enableHeaderAndFooter Boolean
- A flag indicating if the header and footer can be applied to the added document.
If this parameter is true then the interactive features like links and bookmarks are disabled in the added PDF document
- drawHeaderOnFirstPage Boolean
- A flag indicating if the header is drawn on first page of the appended document
- drawFooterOnFirstPage Boolean
- A flag indicating if the footer is drawn in first page of the appended document