Size Class

Size class

Stores a values which specify a Height and Width.

public class Size

Constructors

NameDescription
Size()Initializes a new instance of the Size class.
Size(int, int)Initializes a new instance of the Size class and specify a Height and Width in pixels.
Size(Length, Length)Initializes a new instance of the Size class.

Properties

NameDescription
[getHeight]
[setHeight] Gets or sets the vertical component of this Size.
[getWidth]
[setWidth] Gets or sets the horizontal component of this Size.

See Also