Initializes a new instance of the class.
Namespace: Spire.PdfAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public PdfPageSettings( SizeF size, PdfPageOrientation pageOrientation, float leftMargin, float topMargin, float rightMargin, float bottomMargin )
Public Sub New ( size As SizeF, pageOrientation As PdfPageOrientation, leftMargin As Single, topMargin As Single, rightMargin As Single, bottomMargin As Single )
public: PdfPageSettings( SizeF size, PdfPageOrientation pageOrientation, float leftMargin, float topMargin, float rightMargin, float bottomMargin )
new : size : SizeF * pageOrientation : PdfPageOrientation * leftMargin : float32 * topMargin : float32 * rightMargin : float32 * bottomMargin : float32 -> PdfPageSettings
Parameters
- size
- SizeF
The size.
- pageOrientation
- PdfPageOrientation
The page orientation.
- leftMargin
- Single
The left margin.
- topMargin
- Single
The top margin.
- rightMargin
- Single
The right margin.
- bottomMargin
- Single
The bottom margin.