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

Namespace: Spire.Pdf.Widget
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
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
Int32
The index.
size
SizeF
The size of the page.
margins
PdfMargins
The margins of the page.
rotation
PdfPageRotateAngle
The rotation of the new page.

Return Value

PdfPageBase
The created page.

See Also