Size::Width Property

 

Gets or sets the horizontal component of this Size structure.

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

public:
property int Width {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

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.

.NET Framework
Available since 1.1
Return to top
Show: