DocumentInsertDocument(Int32, Document, Boolean, Boolean, Boolean) Method
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: WinnovativeAssembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
public void InsertDocument(
int insertIndex,
Document doc,
bool enableHeaderAndFooter,
bool drawHeaderOnFirstPage,
bool drawFooterOnFirstPage
)
Public Sub InsertDocument (
insertIndex As Integer,
doc As Document,
enableHeaderAndFooter As Boolean,
drawHeaderOnFirstPage As Boolean,
drawFooterOnFirstPage As Boolean
)
Parameters
- insertIndex Int32
- The page index where to start insertion in this document
- doc Document
- The document to be appended
- enableHeaderAndFooter Boolean
- A flag indicating if the header and footer of the current document are also applied to the inserted document pages
- drawHeaderOnFirstPage Boolean
- A flag indicating if the header is drawn on first page of the inserted document
- drawFooterOnFirstPage Boolean
- A flag indicating if the footer is drawn on first page of the inserted document