Size class
Contents
[
Hide
]Size class
Stores an ordered pair of integers, typically the width and height of a rectangle.
The Size type exposes the following members:
Constructors
Name | Description |
---|---|
Size(width, height) | Initializes a new instance of the Size class |
Size() | Initializes a new instance of the Size class |
Properties
Name | Description |
---|---|
height | Gets or sets the vertical component of this Size. |
width | Gets or sets the horizontal component of this Size. |
is_empty | Tests whether this Size has width and height of 0. |
EMPTY | Gets a Size structure that has a height and width value of 0. |
Methods
Name | Description |
---|---|
clone() | Clones this Aspose.Page.Drawing.Size. |
equals(obj) | Tests to see whether the specified object is a Size with the same dimensions as this Size. |
get_hash_code() | Returns a hash code for this Size structure. |
to_string() | Creates a human-readable string that represents this Size. |
See Also
- module
aspose.page.drawing
- package
aspose.page