This documentation is archived and is not being maintained.

Point.X Property

Gets or sets the x-coordinate of this Point.

[Visual Basic]
Public Property X As Integer
[C#]
public int X {get; set;}
[C++]
public: __property int get_X();
public: __property void set_X(int);
[JScript]
public function get X() : int;
public function set X(int);

Property Value

The x-coordinate of this Point.

Requirements

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

Point Structure | Point Members | System.Drawing Namespace

Show: