PageDimensions.SetMargins
Overloads
SetMargins(Single) | Sets all of the margins for the page dimensions in points (1/72 inches). |
SetMargins(Single, Single) | Sets all of the margins of the page in points (1/72 inches). |
SetMargins(Single, Single, Single, Single) | Sets all of the margins of the page in points (1/72 inches). |
SetMargins(Single)
Sets all of the margins for the page dimensions in points (1/72 inches).
public void SetMargins(float margins)
Sub SetMargins(margins As Single)
Parameters
- margins
- Single
Margins value in points (1/72 inches) to set.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
SetMargins(Single, Single)
Sets all of the margins of the page in points (1/72 inches).
public void SetMargins(float leftAndRight, float topAndBottom)
Sub SetMargins(leftAndRight As Single, topAndBottom As Single)
Parameters
- leftAndRight
- Single
Left and right margin value in points (1/72 inches) to set.
- topAndBottom
- Single
Top and bottom margin value in points (1/72 inches) to set.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
SetMargins(Single, Single, Single, Single)
Sets all of the margins of the page in points (1/72 inches).
public void SetMargins(float leftMargin, float topMargin, float rightMargin, float bottomMargin)
Sub SetMargins(leftMargin As Single, topMargin As Single, rightMargin As Single, bottomMargin As Single)
Parameters
- leftMargin
- Single
Left margin value in points (1/72 inches) to set.
- topMargin
- Single
Top margin value in points (1/72 inches) to set.
- rightMargin
- Single
Right margin value in points (1/72 inches) to set.
- bottomMargin
- Single
Bottom margin value in points (1/72 inches) to set.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.