Initializes a new instance of the class.

Namespace: Spire.Pdf
Assembly: 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,
	float leftMargin,
	float topMargin,
	float rightMargin,
	float bottomMargin
)
Public Sub New ( 
	size As SizeF,
	leftMargin As Single,
	topMargin As Single,
	rightMargin As Single,
	bottomMargin As Single
)
public:
PdfPageSettings(
	SizeF size, 
	float leftMargin, 
	float topMargin, 
	float rightMargin, 
	float bottomMargin
)
new : 
        size : SizeF * 
        leftMargin : float32 * 
        topMargin : float32 * 
        rightMargin : float32 * 
        bottomMargin : float32 -> PdfPageSettings

Parameters

size
SizeF
The size.
leftMargin
Single
The left margin.
topMargin
Single
The top margin.
rightMargin
Single
The right margin.
bottomMargin
Single
The bottom margin.

See Also