HiQPdf Documentation

PdfDocumentAddDocument Method (Int32, PdfDocument, Int32, Int32)

Quickly Create High Quality PDFs
Adds a range of pages from another document in this document starting at the given page index. The added document must remain open until this document is saved. This document header and footer is not automatically applied to the added document. Use the AddDocument(Int32, PdfDocument, Int32, Int32, Boolean, Boolean, Boolean) variant to enable this behavior

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax

public void AddDocument(
	int startIndex,
	PdfDocument document,
	int from,
	int count
)

Parameters

startIndex
Type: SystemInt32
The page index where to insert the document
document
Type: HiQPdfPdfDocument
The document to add
from
Type: SystemInt32
The index of the first page to copy from added document
count
Type: SystemInt32
The number of pages to copy
See Also

Reference