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 | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FromSize |
Converts from System Size.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToSize |
Converts to System Size.
| |
ToString | (Inherited from Object.) |
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