Size

Size class

Stores a values which specify a Height and Width.

public class Size

Constructors

Name Description
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

Name Description
Height { get; set; } Gets or sets the vertical component of this Size.
Width { get; set; } Gets or sets the horizontal component of this Size.

See Also