This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicSnap Interface > IGraphicSnap.SnapX Method (ArcObjects .NET 10.5 SDK) |
Indicates if the point is snapped in the horizontal direction.
[Visual Basic .NET] Public Function SnapX ( _ ByVal Shape As IGeometry, _ ByVal Tolerance As Double _ ) As Boolean
[C#] public bool SnapX ( IGeometry Shape, double Tolerance );
[C++]
HRESULT SnapX(
IGeometry* Shape,
double Tolerance,
VARIANT_BOOL* snapped
);
[C++]
Parameters Shape [in]
Shape is a parameter of type IGeometry Tolerance [in] Tolerance is a parameter of type double snapped [out, retval] snapped is a parameter of type VARIANT_BOOL