Margin Constructors
Overloads
Margin(Int32) | Initializes a new instance of the Margin class using the supplied margin size for all edges. |
Margin(Int32, Int32) | Initializes a new instance of the Margin class using a separate margin size for top, bottom and left, right. |
Margin(Int32, Int32, Int32, Int32) | Initializes a new instance of the Margin class using a separate margin size for each edge. |
Margin(Int32)
Initializes a new instance of the Margin class using the supplied margin size for all edges.
public Margin(int margin)
Public Sub New (margin As Integer)
Parameters
- margin
- Int32
The margin size for the all edges.
Licensing Info
This constructor is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF PrintManager selected.
- A DynamicPDF PrintManager for .NET v4.X Developer license.
Margin(Int32, Int32)
Initializes a new instance of the Margin class using a separate margin size for top, bottom and left, right.
public Margin(int topBottom, int leftRight)
Public Sub New (topBottom As Integer, leftRight As Integer)
Parameters
- topBottom
- Int32
The margin size for the top and bottom edges.
- leftRight
- Int32
The margin size for the left and right edges.
Licensing Info
This constructor is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF PrintManager selected.
- A DynamicPDF PrintManager for .NET v4.X Developer license.
Margin(Int32, Int32, Int32, Int32)
Initializes a new instance of the Margin class using a separate margin size for each edge.
public Margin(int left, int top, int right, int bottom)
Public Sub New (left As Integer, top As Integer, right As Integer, bottom As Integer)
Parameters
- left
- Int32
The margin size for the left edge.
- top
- Int32
The margin size for the top edge.
- right
- Int32
The margin size for the right edge.
- bottom
- Int32
The margin size for the bottom edge.
Licensing Info
This constructor is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF PrintManager selected.
- A DynamicPDF PrintManager for .NET v4.X Developer license.