The X coordinate.
[Visual Basic 6.0] Property X As Double
[Visual Basic .NET] Public Property X As Double
[C#] public double X {get; set;}
[Java] public Double getX() throws IOException, AutomationException
[Java] public void setX( Double X ) throws IOException, AutomationException
[C++]
HRESULT get_X(
double* X
);
[C++] HRESULT put_X( double X);
Parameters
X [out, retval]
X is a parameter of type double
X
X is a parameter of type double
Returns and Sets the X coordinate of the Point. The X coordinate is the horizontal position of the point.
The following C# code shows how to get the X property of a point.
double x;
x = pnt.X;
Dim dX as double
dX = m_pPoint.X
IPoint Interface | IPoint.Y Property | IPoint.Z Property | IPoint.M Property