PdfDocumentAddDocument(Int32, PdfDocument, Int32, Int32) Method

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

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
C#
public void AddDocument(
	int startIndex,
	PdfDocument document,
	int from,
	int count
)

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

See Also