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
)
Public Function Insert (
index As Integer,
settings As PdfPageSettings,
existsPage As Boolean
) As PdfPageBase
public:
PdfPageBase^ Insert(
int index,
PdfPageSettings^ settings,
bool existsPage
)
member Insert :
index : int *
settings : PdfPageSettings *
existsPage : bool -> PdfPageBase
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