PdfPageSettings
SetMargins Method (Single, Single, Single, Single)
|
Sets the margins.
Namespace:
Spire.Pdf
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void SetMargins(
float left,
float top,
float right,
float bottom
)
Public Sub SetMargins (
left As Single,
top As Single,
right As Single,
bottom As Single
)
public:
void SetMargins(
float left,
float top,
float right,
float bottom
)
member SetMargins :
left : float32 *
top : float32 *
right : float32 *
bottom : float32 -> unit
Parameters
-
left
-
Type:
System
Single
The left.
-
top
-
Type:
System
Single
The top.
-
right
-
Type:
System
Single
The right.
-
bottom
-
Type:
System
Single
The bottom.
See Also