ArcObjects Library Reference  (Geometry)    

IGeometry.SnapToSpatialReference Method

Moves points of this geometry so that they can be represented in the precision of the geometry's associated spatial reference system.

[Visual Basic 6.0]
Sub SnapToSpatialReference
[Visual Basic .NET]
Public Sub SnapToSpatialReference ( _
)
[C#]
public void SnapToSpatialReference (
);
[Java]
public void snapToSpatialReference (
)
throws
    IOException,
    AutomationException
[C++]
HRESULT SnapToSpatialReference(
void
);

Product Availability

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

Remarks

SnapToSpatialReference rounds all coordinates to the resolution defined by the geometry's spatial reference system. This has a smilar effect on the geometry as storing the geometry in a Geodatabase (*.mdb or ArcSDE).

See Also

IGeometry Interface

 


Feedback Send feedback on this page