Size Struct

Definition

Represents a width and height pair.

public value class Size
public struct Size
type Size = struct
Public Structure Size
Inheritance
Size

Constructors

Name Description
Size(Int32, Int32)

Initialize a new instance of the Size class and defines the Width and Height values.

Properties

Name Description
Height

Gets and sets the Height.

Width

Gets and sets the Width.

Methods

Name Description
Equals(Object)

Overrides Equals(Object)

GetHashCode()

Overrides GetHashCode()

ToString()

Overloads ToString()

Operators

Name Description
Equality(Size, Size)

Compares two instances for equality.

Inequality(Size, Size)

Compares two instances for inequality.

Applies to