Size Structure |
Namespace: Aspose.Imaging
The Size type exposes the following members.
Name | Description | |
---|---|---|
![]() | Size(Point) |
Initializes a new instance of the Size structure from the specified Point.
|
![]() | Size(Int32, Int32) |
Initializes a new instance of the Size structure from the specified dimensions.
|
Name | Description | |
---|---|---|
![]() ![]() | Empty | |
![]() | Height |
Gets or sets the vertical component of this Size.
|
![]() | IsEmpty |
Gets a value indicating whether this Size has width and height of 0.
|
![]() | Width |
Gets or sets the horizontal component of this Size.
|
Name | Description | |
---|---|---|
![]() ![]() | Add |
Adds the width and height of one Size structure to the width and height of another Size structure.
|
![]() ![]() | Ceiling |
Converts the specified SizeF structure to a Size structure by rounding the values of the Size structure to the next higher integer values.
|
![]() | Equals |
Tests to see whether the specified object is a Size with the same dimensions as this Size.
(Overrides ValueTypeEquals(Object).) |
![]() | GetHashCode |
Returns a hash code for this Size structure.
(Overrides ValueTypeGetHashCode.) |
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() ![]() | Round | |
![]() ![]() | Subtract |
Subtracts the width and height of one Size structure from the width and height of another Size structure.
|
![]() | ToString |
Creates a human-readable string that represents this Size.
(Overrides ValueTypeToString.) |
![]() ![]() | Truncate |
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Adds the width and height of one Size structure to the width and height of another Size structure.
|
![]() ![]() | Equality |
Tests whether two Size structures are equal.
|
![]() ![]() | (Size to Point) |
Converts the specified Size to a Point.
|
![]() ![]() | (Size to SizeF) |
Converts the specified Size to a SizeF.
|
![]() ![]() | Inequality |
Tests whether two Size structures are different.
|
![]() ![]() | Subtraction |
Subtracts the width and height of one Size structure from the width and height of another Size structure.
|