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


IGraphicSnapEnvironment2.SnapShape Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IGraphicSnapEnvironment2.SnapShape Method

Snap the shape using the agents in the environment.

[Visual Basic .NET]
Public Sub SnapShape ( _
    ByVal Shape As IGeometry _
)
[C#]
public void SnapShape (
    IGeometry Shape
);
[C++]
HRESULT SnapShape(
  IGeometry* Shape
);
[C++]

Parameters Shape [in]
Shape is a parameter of type IGeometry

Product Availability

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

See Also

IGraphicSnapEnvironment2 Interface