Sets the X and Y coordinates.
[Visual Basic 6.0] Sub PutCoords(
ByVal X As Double, _
ByVal Y As Double _
)
[Visual Basic .NET] Public Sub PutCoords ( _ ByVal X As Double, _ ByVal Y As Double _ )
[C#] public void PutCoords ( double X, double Y );
[Java] public void putCoords ( double X, double Y ) throws IOException, AutomationException
[C++]
HRESULT PutCoords(
double X,
double Y
);
Parameters
X
X is a parameter of type double
Y
Y is a parameter of type double
The following C# code shows how to set the values:
IPoint pnt = new PointClass();
pnt.PutCoords(1000, 2000);
The following Visual Basic code shows how to set the values:
Dim pPoint as IPoint
Set pPoint = New Point
pPoint.PutCoords 1000, 2000