Copies pages with specified indexes into new PdfDocument.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfDocument CopyPages(
	int[] indexes
)
VB
Public Function CopyPages ( 
	indexes As Integer()
) As PdfDocument

Parameters

indexes
Type: System.Int32[]
The array of zero-based indexes of the pages to copy.

Return Value

Type: PdfDocument
A new PdfDocument that contains copied pages.

Remarks

This PdfDocument remains unchanged.

Use ExtractPages Overload if you want to extract pages from this PdfDocument.

See Also