Class MarginsF
Class allows to store Page Margins (float values).
Inheritance
System.Object
MarginsF
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.DLS
Assembly: Syncfusion.DLS.Base.dll
Syntax
public sealed class MarginsF
Constructors
MarginsF()
Default constructor. Set all margins to 0.
Declaration
public MarginsF()
MarginsF(Single, Single, Single, Single)
Create margins with specified values
Declaration
public MarginsF(float left, float top, float right, float bottom)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | left | Left margin |
| System.Single | top | Top margin |
| System.Single | right | Right margins |
| System.Single | bottom | Bottom margin |
Properties
All
Allow to Get or Set value of all Margins on one call
Declaration
public float All { get; set; }
Property Value
| Type |
|---|
| System.Single |
Bottom
Bottom margin
Declaration
public float Bottom { get; set; }
Property Value
| Type |
|---|
| System.Single |
Left
Left mergin setting
Declaration
public float Left { get; set; }
Property Value
| Type |
|---|
| System.Single |
Right
Right margin
Declaration
public float Right { get; set; }
Property Value
| Type |
|---|
| System.Single |
Top
Top margin
Declaration
public float Top { get; set; }
Property Value
| Type |
|---|
| System.Single |
Methods
Clone()
Declaration
public MarginsF Clone()
Returns
| Type |
|---|
| MarginsF |