Margin
Margin
- Namespace: ceTe.DynamicBarcode.Creator
- Assemblies: DynamicBarcode.Creator.dll
Represents margin of the barcode.
public class Margin
Public Class Margin
Inheritance: Object → Margin
Licensing Info
This class is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
Constructors
Margin(Single)
Creates new instance of the Margin.
public Margin(float all)
Public Sub New (all As Single)
Parameters
- all: Single
Margin for all sides.
Licensing Info
This constructor is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
Margin(Single, Single, Single, Single)
Creates new instance of the Margin.
public Margin(float left, float top, float right, float bottom)
Public Sub New (left As Single, top As Single, right As Single, bottom As Single)
Parameters
- left: Single
Margin for left side.
- top: Single
Margin for top side.
- right: Single
Margin for right side.
- bottom: Single
Margin for bottom side.
Licensing Info
This constructor is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
Properties
All
Gets or sets all side margin of the barcode.
public float All { get; set; }
Public Property All As Single
Property Value
Licensing Info
This property is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
Bottom
Gets or sets bottom margin of the barcode.
public float Bottom { get; set; }
Public Property Bottom As Single
Property Value
Licensing Info
This property is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
Left
Gets or sets left margin of the barcode.
public float Left { get; set; }
Public Property Left As Single
Property Value
Licensing Info
This property is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
Right
Gets or sets right margin of the barcode.
public float Right { get; set; }
Public Property Right As Single
Property Value
Licensing Info
This property is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
Top
Gets or sets top margin of the barcode.
public float Top { get; set; }
Public Property Top As Single
Property Value
Licensing Info
This property is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
Methods
Equals(Object)
Compares two margin objects for equvality.
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
Object to compare for equality.
Returns
Licensing Info
This method is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
GetHashCode()
Gets the hash code of the margin object.
public int GetHashCode()
Function GetHashCode() As Integer
Returns
Licensing Info
This method is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
Licensing Info
This method is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
ToString()
Converts margin object to string.
public string ToString()
Function ToString() As String
Returns
Licensing Info
This method is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.