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
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public void AddDocument(
int startIndex,
string pdfFile,
bool applyHeaderAndFooter,
bool applyHeaderInFirstPage,
bool applyFooterInFirstPage
)
Public Sub AddDocument (
startIndex As Integer,
pdfFile As String,
applyHeaderAndFooter As Boolean,
applyHeaderInFirstPage As Boolean,
applyFooterInFirstPage As Boolean
)
public:
void AddDocument(
int startIndex,
String^ pdfFile,
bool applyHeaderAndFooter,
bool applyHeaderInFirstPage,
bool applyFooterInFirstPage
)
member AddDocument :
startIndex : int *
pdfFile : string *
applyHeaderAndFooter : bool *
applyHeaderInFirstPage : bool *
applyFooterInFirstPage : bool -> unit
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