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


IGraphicSnap.SnapX Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IGraphicSnap.SnapX Method

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

Product Availability

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

See Also

IGraphicSnap Interface