PdfPageCollection
Insert Method (Int32, PdfNewPage, 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,
PdfNewPage page,
PdfPageSettings settings,
bool existsPage
)
Public Function Insert (
index As Integer,
page As PdfNewPage,
settings As PdfPageSettings,
existsPage As Boolean
) As PdfPageBase
public:
PdfPageBase^ Insert(
int index,
PdfNewPage^ page,
PdfPageSettings^ settings,
bool existsPage
)
member Insert :
index : int *
page : PdfNewPage *
settings : PdfPageSettings *
existsPage : bool -> PdfPageBase
Parameters
-
index
-
Type:
System
Int32
The index.
-
page
-
Type:
Spire.Pdf
PdfNewPage
The new pdf page.
-
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