Height Property
Collapse the table of content
Expand the table of content

Size.Height Property


Gets or sets the vertical component of this Size structure.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public int Height { get; set; }

Property Value

Type: System.Int32

The vertical component of this Size structure, typically measured in pixels.

The unit for the Height and Width of the Size structure depend on the PageUnit and PageScale settings for the Graphics object that is used to draw.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft