Winnovative HTML to PDF Converter

PdfDocumentOptionsAddStartDocument Method (Stream, Boolean, Boolean, Boolean)

Winnovative HTML to PDF Converter for .NET Documentation
Adds a PDF document from the given stream before the result of HTML to PDF conversion. If the AutoCloseExternalDocs property is true the added document will be automatically closed when the final document is closed or saved

Namespace:  Winnovative
Assembly:  wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax

public void AddStartDocument(
	Stream pdfStream,
	bool enableHeaderAndFooter,
	bool drawHeaderOnFirstPage,
	bool drawFooterOnFirstPage
)

Parameters

pdfStream
Type: System.IOStream
The stream from where to read the PDF document to be inserted before conversion result
enableHeaderAndFooter
Type: SystemBoolean
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
Type: SystemBoolean
A flag indicating if the header is drawn on first page of the appended document
drawFooterOnFirstPage
Type: SystemBoolean
A flag indicating if the footer is drawn in first page of the appended document
See Also

Reference