This document is archived and information here might be outdated.  Recommended version.


IPnt.SetCoords Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IPnt.SetCoords Method

Set X and Y coordinates of the point.

[Visual Basic .NET]
Public Sub SetCoords ( _
    ByVal X As Double, _
    ByVal Y As Double _
)
[C#]
public void SetCoords (
    double X,
    double Y
);
[C++]
HRESULT SetCoords(
  double X,
  double Y
);
[C++]

Parameters X [in]
X is a parameter of type double Y [in]
Y is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IPnt Interface

.NET Related Topics

DataSourcesRaster | Geodatabase | How to create a raster dataset