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


IGraphicSnapEnvironment2.SnapShapeEx Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicSnapEnvironment2 Interface > IGraphicSnapEnvironment2.SnapShapeEx Method
ArcGIS Developer Help

IGraphicSnapEnvironment2.SnapShapeEx Method

Snap the shape using the agents in the environment.

[Visual Basic .NET]
Public Sub SnapShapeEx ( _
    ByVal pElement As IElement, _
    ByVal Shape As IGeometry _
)
[C#]
public void SnapShapeEx (
    IElement pElement,
    IGeometry Shape
);
[C++]
HRESULT SnapShapeEx(
  IElement* pElement,
  IGeometry* Shape
);
[C++]
Parameters
pElement [in]

pElement is a parameter of type IElement* Shape [in]
Shape is a parameter of type IGeometry*

Product Availability

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

See Also

IGraphicSnapEnvironment2 Interface