Size.Height Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: