Class Size
Namespace: Aspose.Html.Drawing
Assembly: Aspose.HTML.dll (25.2.0)
Stores a values which specify a Height and Width.
[ComVisible(true)]
public class Size
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Size()
Initializes a new instance of the Aspose.Html.Drawing.Size class.
public Size()
Size(int, int)
Initializes a new instance of the Aspose.Html.Drawing.Size class and specify a Height and Width in pixels.
public Size(int width, int height)
Parameters
width
int
The width.
height
int
The height.
Size(Length, Length)
Initializes a new instance of the Aspose.Html.Drawing.Size class.
public Size(Length width, Length height)
Parameters
width
Length
The width.
height
Length
The height.
Properties
Height
Gets or sets the vertical component of this Aspose.Html.Drawing.Size.
public Length Height { get; set; }
Property Value
Width
Gets or sets the horizontal component of this Aspose.Html.Drawing.Size.
public Length Width { get; set; }