Share via

Size.Width Property


Gets or sets the horizontal component of this Size structure.

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

Property Value

The horizontal 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 used to draw.

Applies to