PdfPageSettings
SetMargins Method (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 leftRight,
float topBottom
)
Public Sub SetMargins (
leftRight As Single,
topBottom As Single
)
public:
void SetMargins(
float leftRight,
float topBottom
)
member SetMargins :
leftRight : float32 *
topBottom : float32 -> unit
Parameters
-
leftRight
-
Type:
System
Single
The left right.
-
topBottom
-
Type:
System
Single
The top bottom.
See Also