Class Margins
Represents the page margins of the Word document.
Inheritance
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.NET.dll
Syntax
public sealed class Margins : Object
Constructors
Margins()
Initializes a new instance of Margins class.
Declaration
public Margins()
Margins(Int32, Int32, Int32, Int32)
Initializes a new instance of Margins class with the specified left, top, right and bottom margin values in points.
Declaration
public Margins(int left, int top, int right, int bottom)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | left | The value for left margin in points. |
System.Int32 | top | The value for top margin in points. |
System.Int32 | right | The value for right margin in points. |
System.Int32 | bottom | The value for bottom margin in points. |
Properties
All
Gets or sets the value of all the four Margins on one call measured in points.
Declaration
public int All { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The integer that specifies the margin values in points. |
Bottom
Gets or sets the bottom margin value in points.
Declaration
public int Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The integer that specifies the bottom margin value in points. |
Left
Gets or sets the left margin value in points.
Declaration
public int Left { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The integer that specifies the left margin value in points. |
Right
Gets or sets the right margin value in points.
Declaration
public int Right { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The integer that specifies the right margin value in points. |
Top
Gets or sets the top margin value in points.
Declaration
public int Top { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The integer that specifies the right margin value in points. |