Share via

SizeF.Width Property


Gets or sets the horizontal component of this SizeF structure.

 property float Width { float get(); void set(float value); };
public float Width { get; set; }
member this.Width : single with get, set
Public Property Width As Single

Property Value

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.

Applies to