Class Margin
Namespace: Aspose.Html.Drawing
Assembly: Aspose.HTML.dll (25.2.0)
Represents page margin.
[ComVisible(true)]
public class Margin
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Margin()
Initializes a new instance of the Aspose.Html.Drawing.Margin class.
public Margin()
Margin(int)
Initializes a new instance of the Aspose.Html.Drawing.Margin class.
public Margin(int anyMargin)
Parameters
anyMargin
int
Any margin size.
Margin(Length)
Initializes a new instance of the Aspose.Html.Drawing.Margin class.
public Margin(Length anyMargin)
Parameters
anyMargin
Length
Any margin size.
Margin(int, int, int, int)
Initializes a new instance of the Aspose.Html.Drawing.Margin class.
public Margin(int left, int top, int right, int bottom)
Parameters
left
int
The left size.
top
int
The top size.
right
int
The right size.
bottom
int
The bottom size.
Margin(Length, Length, Length, Length)
Initializes a new instance of the Aspose.Html.Drawing.Margin class.
public Margin(Length left, Length top, Length right, Length bottom)
Parameters
left
Length
The left size.
top
Length
The top size.
right
Length
The right size.
bottom
Length
The bottom size.
Properties
Bottom
Gets or sets the bottom.
public LengthOrAuto Bottom { get; set; }
Property Value
Left
Gets or sets the left.
public LengthOrAuto Left { get; set; }
Property Value
Right
Gets or sets the right.
public LengthOrAuto Right { get; set; }
Property Value
Top
Gets or sets the top.
public LengthOrAuto Top { get; set; }