Size class

Size class

Represents a size.

The Size type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the Size class.

Properties

Property Description
is_empty Gets a value that indicates whether the size is empty.
width Gets the width.
height Gets the height.

Methods

Method Description
parse Converts the string representation of a size to its class equivalent.
try_parse Converts the string representation of a size to its class equivalent.
A return value indicates whether the conversion is succeeded or failed.

See Also