com.esri.arcgis.carto
Interface IGraphicSnap

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IPageLayoutSnap
All Known Implementing Classes:
GridSnap, GuideSnap, IGraphicSnapProxy, IPageLayoutSnapProxy, MarginSnap, RulerSnap

public interface IGraphicSnap
extends java.io.Serializable

COM Interface 'IGraphicSnap'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control snapping graphics.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID56fd87f5_ddce_11d1_8778_0000f8751720
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 java.lang.String getName()
          The name of the snap agent.
 boolean snapX(IGeometry shape, double tolerance)
          Indicates if the point is snapped in the horizontal direction.
 boolean snapY(IGeometry shape, double tolerance)
          Indicates if the point is snapped in the vertical direction.
 

Field Detail

IID56fd87f5_ddce_11d1_8778_0000f8751720

static final int IID56fd87f5_ddce_11d1_8778_0000f8751720
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the snap agent.

Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

snapX

boolean snapX(IGeometry shape,
              double tolerance)
              throws java.io.IOException,
                     AutomationException
Indicates if the point is snapped in the horizontal direction.

Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
tolerance - The tolerance (in)
Returns:
The snapped
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

snapY

boolean snapY(IGeometry shape,
              double tolerance)
              throws java.io.IOException,
                     AutomationException
Indicates if the point is snapped in the vertical direction.

Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
tolerance - The tolerance (in)
Returns:
The snapped
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.