Click or drag to resize

PdfPageCollection Insert Method (Int32, PdfPageSettings, Boolean)

Creates a new page and inserts it at the specified index.

Namespace: Spire.Pdf.Widget
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public PdfPageBase Insert(
	int index,
	PdfPageSettings settings,
	bool existsPage
)

Parameters

index
Type: System Int32
The index.
settings
Type: Spire.Pdf PdfPageSettings
The settings of the page.
existsPage
Type: System Boolean
Whether is the exist page.

Return Value

Type: PdfPageBase
The created page.
See Also