PdfDocumentAddDocument(Int32, String, Boolean, Boolean, Boolean) Method

Inserts a PDF file starting at a given page index in this document and optionally applies the header and footer of this document to inserted PDF

Definition

Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
C#
public void AddDocument(
	int startIndex,
	string pdfFile,
	bool applyHeaderAndFooter,
	bool applyHeaderInFirstPage,
	bool applyFooterInFirstPage
)

Parameters

startIndex  Int32
The page index where to insert the document
pdfFile  String
The full path of the PDF file to insert
applyHeaderAndFooter  Boolean
Controls is the header and footer of this document are applied to the inserted document
applyHeaderInFirstPage  Boolean
Controls if the header is applied in first page of the inserted document
applyFooterInFirstPage  Boolean
Controls if the footer is applied in first page of the inserted document

See Also