com.esri.arcgis.carto
Interface ISnapGrid

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ISnapGridProxy, SnapGrid

public interface ISnapGrid
extends java.io.Serializable

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

Description: 'Provides access to members that control the Snapping grid.' 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 IID31e081aa_cb02_11d1_876c_0000f8751720
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void draw(IDisplay display, IPage page)
          Draw the grid.
 double getHorizontalSpacing()
          The horizontal distance between grid points.
 double getVerticalSpacing()
          The vertical distance between grid points.
 boolean isVisible()
          Indicates if the snapping grid is visible.
 void setHorizontalSpacing(double spacing)
          The horizontal distance between grid points.
 void setIsVisible(boolean isVisible)
          Indicates if the snapping grid is visible.
 void setVerticalSpacing(double spacing)
          The vertical distance between grid points.
 

Field Detail

IID31e081aa_cb02_11d1_876c_0000f8751720

static final int IID31e081aa_cb02_11d1_876c_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

isVisible

boolean isVisible()
                  throws java.io.IOException,
                         AutomationException
Indicates if the snapping grid is visible.

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

setIsVisible

void setIsVisible(boolean isVisible)
                  throws java.io.IOException,
                         AutomationException
Indicates if the snapping grid is visible.

Parameters:
isVisible - The isVisible (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHorizontalSpacing

double getHorizontalSpacing()
                            throws java.io.IOException,
                                   AutomationException
The horizontal distance between grid points.

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

setHorizontalSpacing

void setHorizontalSpacing(double spacing)
                          throws java.io.IOException,
                                 AutomationException
The horizontal distance between grid points.

Parameters:
spacing - The spacing (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVerticalSpacing

double getVerticalSpacing()
                          throws java.io.IOException,
                                 AutomationException
The vertical distance between grid points.

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

setVerticalSpacing

void setVerticalSpacing(double spacing)
                        throws java.io.IOException,
                               AutomationException
The vertical distance between grid points.

Parameters:
spacing - The spacing (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

void draw(IDisplay display,
          IPage page)
          throws java.io.IOException,
                 AutomationException
Draw the grid.

Parameters:
display - A reference to a com.esri.arcgis.display.IDisplay (in)
page - A reference to a com.esri.arcgis.carto.IPage (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.