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: 16.0.0
public void AddDocument(
int startIndex,
byte[] pdfData,
string password,
bool applyHeaderAndFooter,
bool applyHeaderInFirstPage,
bool applyFooterInFirstPage
)
Public Sub AddDocument (
startIndex As Integer,
pdfData As Byte(),
password As String,
applyHeaderAndFooter As Boolean,
applyHeaderInFirstPage As Boolean,
applyFooterInFirstPage As Boolean
)
public:
void AddDocument(
int startIndex,
array<unsigned char>^ pdfData,
String^ password,
bool applyHeaderAndFooter,
bool applyHeaderInFirstPage,
bool applyFooterInFirstPage
)
member AddDocument :
startIndex : int *
pdfData : byte[] *
password : string *
applyHeaderAndFooter : bool *
applyHeaderInFirstPage : bool *
applyFooterInFirstPage : bool -> unit
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