PdfDocumentAddDocument(Int32, PdfDocument, Int32, Int32, Boolean, Boolean, Boolean) Method
Adds another document in this document starting at the given page index and optionally apply this document header and footer
to the added document if the added document was loaded from external file or streams.
The interactive features of the PDF documents loaded from external files or streams are disabled in the final document
Namespace: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
public void AddDocument(
int startIndex,
PdfDocument document,
int from,
int count,
bool applyHeaderAndFooter,
bool applyHeaderInFirstPage,
bool applyFooterInFirstPage
)
Public Sub AddDocument (
startIndex As Integer,
document As PdfDocument,
from As Integer,
count As Integer,
applyHeaderAndFooter As Boolean,
applyHeaderInFirstPage As Boolean,
applyFooterInFirstPage As Boolean
)
public:
void AddDocument(
int startIndex,
PdfDocument^ document,
int from,
int count,
bool applyHeaderAndFooter,
bool applyHeaderInFirstPage,
bool applyFooterInFirstPage
)
member AddDocument :
startIndex : int *
document : PdfDocument *
from : int *
count : int *
applyHeaderAndFooter : bool *
applyHeaderInFirstPage : bool *
applyFooterInFirstPage : bool -> unit
Parameters
- startIndex Int32
- The page index where to insert the document
- document PdfDocument
- The document to add
- from Int32
- The index of the first page to copy from added document
- count Int32
- The number of pages to copy
- applyHeaderAndFooter Boolean
- Controls is the header and footer of this document are applied to the added document
if the added document was loaded from external file or streams
- applyHeaderInFirstPage Boolean
- Controls if the header is applied in first page of the added document
- applyFooterInFirstPage Boolean
- Controls if the footer is applied in first page of the added document