Creates a new page of the specified size and with the specified margins
and adds it to the collection.
Namespace: Spire.Pdf.WidgetAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public PdfPageBase Add( SizeF size, PdfMargins margins, PdfPageRotateAngle rotation )
Public Function Add ( size As SizeF, margins As PdfMargins, rotation As PdfPageRotateAngle ) As PdfPageBase
public: PdfPageBase^ Add( SizeF size, PdfMargins^ margins, PdfPageRotateAngle rotation )
member Add : size : SizeF * margins : PdfMargins * rotation : PdfPageRotateAngle -> PdfPageBase
Parameters
- size
- SizeF
The size of the new page.
- margins
- PdfMargins
The margins of the new page.
- rotation
- PdfPageRotateAngle
The rotation of the new page.
Return Value
PdfPageBaseThe created page.