The Dimension2D type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Dimension2D |
This is an abstract class that cannot be instantiated directly.
Type-specific implementation subclasses are available for
instantiation and provide a number of formats for storing
the information necessary to satisfy the various accessor
methods below.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a new object of the same class as this object.
| |
| 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.) | |
| 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.) | |
| SetSize |
Sets the size of this Dimension | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Height |
Returns the height of this Dimension | |
| Size |
Sets the size of this Dimension2D | |
| Width |
Returns the width of this Dimension |