Click or drag to resize

PdfDocumentCopyPages Method (IEnumerableInt32)

Creates a new PDF by copying a range of pages from this PdfDocument.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.3.2.0 (2020.3.2.0)
Syntax
public PdfDocument CopyPages(
	IEnumerable<int> PageIndexes
)

Parameters

PageIndexes
Type: System.Collections.GenericIEnumerableInt32
An IEnumerable of page indexes to copy into the new PDF.

Return Value

Type: PdfDocument
This PdfDocument for a LINQ like 'fluent' coding style.
See Also