Size

Size class

Represents a size.

public sealed class Size

Constructors

Name Description
Size(double, double) Initializes a new instance of the Size class.

Properties

Name Description
Height { get; } Gets the height.
IsEmpty { get; } Gets a value that indicates whether the size is empty.
Width { get; } Gets the width.

Methods

Name Description
static Parse(string) Converts the string representation of a size to its class equivalent.
override ToString() Converts the value of this instance to String.
static TryParse(string, out Size) Converts the string representation of a size to its class equivalent. A return value indicates whether the conversion is succeeded or failed.

See Also