Stores an ordered pair of floating-point numbers, typically the width and height of an object.
The following tables list the members exposed by the Dimension type.
Name | Description | |
---|---|---|
Overloaded. Initializes a new instance of the Dimension stucture. |
Name | Description | |
---|---|---|
An empty instance of the Dimension structure. |
Name | Description | |
---|---|---|
Gets or sets the vertical component of this Dimension. |
||
Gets or sets the vertical units of measure of this Dimension. |
||
Gets a value indicating whether this Dimension has zero width and height. |
||
Gets or sets the horizontal component of this Dimension. |
||
Gets or sets the horizontal units of measure of this Dimension. |
Name | Description | |
---|---|---|
Adds the width and height of one Dimension structure to the width and height of another Dimension structure. |
||
Determines if two Dimension structures have the same height and width. |
||
Returns a hash code for this Dimension structure. |
||
Subtracts the width and height of one Dimension structure from the width and height of another Dimensions structure. |
||
Converts this Dimension to a Location. |
||
Creates a human-readable string that represents this Dimension. |