Margin
Margin
- Namespace: ceTe.DynamicBarcode.Creator
- Assemblies: ceTe.DynamicBarcode.Creator.40.dll, ceTe.DynamicBarcode.Creator.Wpf.40.dll
Represents margin of the barcode.
public class Margin
Public Class Margin
Inheritance: Object → Margin
Licensing
This class is a DynamicBarcode Creator feature. The following license is required for non-evaluation usage:
- DynamicBarcode Creator for .NET
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.
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.
Properties
All
Gets or sets all side margin of the barcode.
public float All { get; set; }
Public Property All As Single
Property Value
Bottom
Gets or sets bottom margin of the barcode.
public float Bottom { get; set; }
Public Property Bottom As Single
Property Value
Left
Gets or sets left margin of the barcode.
public float Left { get; set; }
Public Property Left As Single
Property Value
Right
Gets or sets right margin of the barcode.
public float Right { get; set; }
Public Property Right As Single
Property Value
Top
Gets or sets top margin of the barcode.
public float Top { get; set; }
Public Property Top As Single
Property Value
Methods
Equals(Object)
Compares two margin objects for equvality.
public bool Equals(Object other)
Function Equals(other As Object) As Boolean
Parameters
- other: Object
Object to compare for equality.
Returns
GetHashCode()
Gets the hash code of the margin object.
public int GetHashCode()
Function GetHashCode() As Integer
Returns
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.
ToString()
Converts margin object to string.
public string ToString()
Function ToString() As String