Name | Description | |
---|---|---|
Size Constructor | Initializes a new instance of the Size structure. |
The following tables list the members exposed by Size.
Name | Description | |
---|---|---|
Size Constructor | Initializes a new instance of the Size structure. |
Name | Description | |
---|---|---|
Empty | Represents an empty instance of the Size structure. | |
Height | Gets or sets the vertical component of the current Size. | |
IsEmpty | Gets a value indicating whether of the current Size has zero Width and Height. | |
Width | Gets or sets the horizontal component of the current Size. |
Name | Description | |
---|---|---|
Add | Adds two Size structures. | |
Ceiling | Converts the current Size structure to a Point by rounding the width and height to the next higher integer values. | |
Equals | Indicates whether this instance and a specified object are equal. | |
GetHashCode | Returns the hash code for this instance. | |
Parse | Converts a string to a Size structure. | |
Substract | Subtracts one Size structure from another. | |
ToString | Converts the current Size structure to a human-readable string representing it. | |
Truncate | Converts the current Size structure to a Point by truncating the width and height to integer values. |
Addition | Adds two Size structures. |
Equality | Indicates whether two Size structures are equal. |
Explicit Type Conversion | Converts a Size to a Point. |
Implicit Type Conversion | Overloaded. Converts a System.Drawing.Size to a Size. |
Inequality | Indicates whether two Size structures are not equal. |
Subtraction | Subtracts one Size structure from another. |