Click or drag to resize

PdfPageObjectCollectionInsertPage Method

Adds a new empty PdfPage to the PdfPageObjectCollection at the specified index.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1001
Syntax
public PdfPage InsertPage(
	int index
)

Parameters

index
Type: SystemInt32
The zero-based index at which PdfPage should be inserted.

Return Value

Type: PdfPage
The PdfPage inserted to the PdfPageObjectCollection.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than 0 or greater than Count.
See Also