The Size type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| Size | Initializes a new instance of the Size class | |
| Size(Int32, Int32) | Initializes a new instance of the Size class |
Methods
| Name | Description | |
|---|---|---|
| (Inherited from | ||
Allows an (Inherited from | ||
| FromSize |
Converts from System Size.
| |
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| ToSize |
Converts to System Size.
| |
| (Inherited from |
Properties
| Name | Description | |
|---|---|---|
| Height |
Gets or sets the Size Height.
| |
| IsEmpty |
Property returns true when the Size has both a Width and Height of 0; otherwise, false. Read-only.
| |
| Width |
Gets or sets the Size Width.
|
See Also