Winnovative HTML to PDF Converter

DocumentInsertDocument Method (Int32, Document, Boolean, Boolean, Boolean)

Winnovative HTML to PDF Converter for .NET Documentation
Inserts the document given as parameter to the current document and optionally applies the current document header and footer to the appended document pages if the appended document was loaded from an external file or stream

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

public void InsertDocument(
	int insertIndex,
	Document doc,
	bool enableHeaderAndFooter,
	bool drawHeaderOnFirstPage,
	bool drawFooterOnFirstPage
)

Parameters

insertIndex
Type: SystemInt32
The page index where to start insertion in this document
doc
Type: WinnovativeDocument
The document to be appended
enableHeaderAndFooter
Type: SystemBoolean
A flag indicating if the header and footer of the current document are also applied to the inserted document pages
drawHeaderOnFirstPage
Type: SystemBoolean
A flag indicating if the header is drawn on first page of the inserted document
drawFooterOnFirstPage
Type: SystemBoolean
A flag indicating if the footer is drawn on first page of the inserted document
See Also

Reference