Imports a page range from a loaded document.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfPageBase InsertPageRange(
	PdfDocument doc,
	int startIndex,
	int endIndex
)
Public Function InsertPageRange ( 
	doc As PdfDocument,
	startIndex As Integer,
	endIndex As Integer
) As PdfPageBase
public:
PdfPageBase^ InsertPageRange(
	PdfDocument^ doc, 
	int startIndex, 
	int endIndex
)
member InsertPageRange : 
        doc : PdfDocument * 
        startIndex : int * 
        endIndex : int -> PdfPageBase 

Parameters

doc
PdfDocument
startIndex
Int32
The start page index.
endIndex
Int32
The end page index.

Return Value

PdfPageBase
The last created page in the target document.

See Also