This documentation is archived and is not being maintained.

Size.Width Property

Gets or sets the horizontal component of this Size.

[Visual Basic]
Public Property Width As Integer
public int Width {get; set;}
public: __property int get_Width();
public: __property void set_Width(int);
public function get Width() : int;
public function set Width(int);

Property Value

The horizontal component of this Size.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Size Structure | Size Members | System.Drawing Namespace