HiQPdf Documentation

PdfDocumentAddDocument Method (Int32, Byte, Boolean, Boolean, Boolean)

HiQPdf Client for .NET Core
Inserts a PDF from data starting at a given page index in this document and optionally applies the header and footer of this document to inserted PDF

Namespace:  HiQPdfClient
Assembly:  HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax

public void AddDocument(
	int startIndex,
	byte[] pdfData,
	bool applyHeaderAndFooter,
	bool applyHeaderInFirstPage,
	bool applyFooterInFirstPage
)

Parameters

startIndex
Type: SystemInt32
The page index where to insert the document
pdfData
Type: SystemByte
The PDF document data
applyHeaderAndFooter
Type: SystemBoolean
Controls is the header and footer of this document are applied to the inserted document
applyHeaderInFirstPage
Type: SystemBoolean
Controls if the header is applied in first page of the inserted document
applyFooterInFirstPage
Type: SystemBoolean
Controls if the footer is applied in first page of the inserted document
See Also

Reference