Click or drag to resize

PdfDocumentBase ImportPageRange Method (PdfDocumentBase, Int32, Int32, Int32)

Imports a page range from a loaded document.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public PdfPageBase ImportPageRange(
	PdfDocumentBase ldDoc,
	int startIndex,
	int endIndex,
	int resultPageIndex
)

Parameters

ldDoc
Type: Spire.Pdf PdfDocumentBase
The loaded document.
startIndex
Type: System Int32
The start page index.
endIndex
Type: System Int32
The end page index.
resultPageIndex
Type: System Int32
The page index in the result document when startIndex == endIndex.

Return Value

Type: PdfPageBase
The last created page in the result document.
See Also