Skip to main content

Margin

Version: 1.0

Margin

Margin​

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​

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​

Margin for left side.

Margin for top side.

Margin for right side.

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​

Single

Bottom​

Gets or sets bottom margin of the barcode.

public float Bottom { get; set; }
Public Property Bottom As Single

Property Value​

Single

Left​

Gets or sets left margin of the barcode.

public float Left { get; set; }
Public Property Left As Single

Property Value​

Single

Gets or sets right margin of the barcode.

public float Right { get; set; }
Public Property Right As Single

Property Value​

Single

Top​

Gets or sets top margin of the barcode.

public float Top { get; set; }
Public Property Top As Single

Property Value​

Single

Methods​

Equals(Object)​

Compares two margin objects for equvality.

public bool Equals(Object other)
Function Equals(other As Object) As Boolean

Parameters​

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

Returns​

See Also​

ceTe.DynamicBarcode.Creator