Struct Size
Size structure
Stores an ordered pair of integers, typically the width and height of a rectangle.
Constructors
| Name | Description |
|---|
| Size(int, int) | Initializes a new instance of the Size class from the specified dimensions. |
Properties
| Name | Description |
|---|
| Height { get; set; } | Gets or sets the vertical component of this Size. |
| IsEmpty { get; } | Tests whether this Size has width and height of 0. |
| Width { get; set; } | Gets or sets the horizontal component of this Size. |
Methods
| Name | Description |
|---|
| Clone() | Clones this Aspose.Page.Drawing.Size. |
| Equals(object) | Tests to see whether the specified object is a Size with the same dimensions as this Size. |
| GetHashCode() | Returns a hash code for this Size structure. |
| ToString() | Creates a human-readable string that represents this Size. |
| operator == | Tests whether two Size structures are equal. |
| operator != | Tests whether two Size structures are different. |
Fields
| Name | Description |
|---|
| static readonly Empty | Gets a Size structure that has a Height and Width value of 0. |
See Also