PdfPageCollection
Insert Method (Int32, SizeF, PdfMargins, PdfPageRotateAngle)
|
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,
SizeF size,
PdfMargins margins,
PdfPageRotateAngle rotation
)
Public Function Insert (
index As Integer,
size As SizeF,
margins As PdfMargins,
rotation As PdfPageRotateAngle
) As PdfPageBase
public:
PdfPageBase^ Insert(
int index,
SizeF size,
PdfMargins^ margins,
PdfPageRotateAngle rotation
)
member Insert :
index : int *
size : SizeF *
margins : PdfMargins *
rotation : PdfPageRotateAngle -> PdfPageBase
Parameters
-
index
-
Type:
System
Int32
The index.
-
size
-
Type:
System.Drawing
SizeF
The size of the page.
-
margins
-
Type:
Spire.Pdf.Graphics
PdfMargins
The margins of the page.
-
rotation
-
Type:
Spire.Pdf
PdfPageRotateAngle
The rotation of the new page.
Return Value
Type:
PdfPageBase
The created page.
See Also