Struct Size
Represents size.
public struct Size
- Inherited Members
Constructors
- Size(Point)
Initializes a new instance of the Size structure from the specified Point.
- Size(int, int)
Initializes a new instance of the Size structure from the specified dimensions.
Properties
Methods
- Add(Size, Size)
Adds the width and height of one Size structure to the width and height of another Size structure.
- Ceiling(SizeF)
Converts the specified SizeF structure to a Size structure by rounding the values of the Size structure to the next higher integer values.
- Equals(object)
Tests to see whether the specified object is a Size with the same dimensions as this Size.
- GetHashCode()
Returns a hash code for this Size structure.
- Round(SizeF)
Converts the specified SizeF structure to a Size structure by rounding the values of the SizeF structure to the nearest integer values.
- Subtract(Size, Size)
Subtracts the width and height of one Size structure from the width and height of another Size structure.
- ToString()
Creates a human-readable string that represents this Size.
- Truncate(SizeF)
Converts the specified SizeF structure to a Size structure by truncating the values of the SizeF structure to the next lower integer values.
Operators
- operator +(Size, Size)
Adds the width and height of one Size structure to the width and height of another Size structure.
- operator ==(Size, Size)
Tests whether two Size structures are equal.
- operator !=(Size, Size)
Tests whether two Size structures are different.
- operator -(Size, Size)
Subtracts the width and height of one Size structure from the width and height of another Size structure.