Class Margin
Represents margin information.
Inheritance
System.Object
Margin
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.WPF
Assembly: Neodynamic.WPF.Barcode.dll
Syntax
public class Margin
Constructors
Margin()
Initializes a new instance of the Margin class.
Declaration
public Margin()
Margin(Double)
Initializes a new instance of the Margin class using the supplied margin size for all edges.
Declaration
public Margin(double all)
Parameters
Type | Name | Description |
---|---|---|
System.Double | all | The margin size for all edges. |
Margin(Double, Double, Double, Double)
Initializes a new instance of the Margin class using a separate margin size for each edge.
Declaration
public Margin(double left, double top, double right, double bottom)
Parameters
Type | Name | Description |
---|---|---|
System.Double | left | The margin size for the left edge. |
System.Double | top | The margin size for the top edge. |
System.Double | right | The margin size for the right edge. |
System.Double | bottom | The margin size for the bottom edge. |
Properties
Bottom
Gets or sets the margin size for the bottom edge.
Declaration
public double Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Left
Gets or sets the margin size for the left edge.
Declaration
public double Left { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Right
Gets or sets the margin for the right edge.
Declaration
public double Right { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Top
Gets or sets the margin size for the top edge.
Declaration
public double Top { get; set; }
Property Value
Type | Description |
---|---|
System.Double |