PdfDocumentAddDocument(Int32, Byte, String, Boolean, Boolean, Boolean) Method
Inserts a password protected 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: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 18.0.0
public void AddDocument(
int startIndex,
byte[] pdfData,
string password,
bool applyHeaderAndFooter,
bool applyHeaderInFirstPage,
bool applyFooterInFirstPage
)
Parameters
- startIndex Int32
- The page index where to insert the document
- pdfData Byte
- The PDF document data
- password String
- The password of inserted PDF document
- 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