SizeF.Width Property


Gets or sets the horizontal component of this SizeF structure.

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

public float Width { get; set; }

Property Value

Type: System.Single

The horizontal component of this SizeF structure, typically measured in pixels.

The unit for the Height and Width of the SizeF 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