Size Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a width and height pair.
public value class Size
public struct Size
type Size = struct
Public Structure Size
- Inheritance
-
Size
Constructors
Size(Int32, Int32) |
Initialize a new instance of the Size class and defines the Width and Height values. |
Properties
Height |
Gets and sets the Height. |
Width |
Gets and sets the Width. |
Methods
Equals(Object) |
Overrides Equals(Object) |
GetHashCode() |
Overrides GetHashCode() |
ToString() |
Overloads ToString() |
Operators
Equality(Size, Size) |
Compares two instances for equality. |
Inequality(Size, Size) |
Compares two instances for inequality. |