|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISnapGrid
Provides access to members that control the Snapping grid.
The layout view supports a snap grid, which is a grid of reference points on the layout used to help position elements. The grid may be used as a visual indicator of size and position, or it may be used to snap elements into position.
The primary interface on the SnapGrid object is ISnapGrid. Use this interface to change the grid’s horizontal and vertical spacing and control whether or not the grid is visible.
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. |
Method Detail |
---|
boolean isVisible() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsVisible(boolean isVisible) throws IOException, AutomationException
isVisible
- The isVisible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getHorizontalSpacing() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHorizontalSpacing(double spacing) throws IOException, AutomationException
spacing
- The spacing (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getVerticalSpacing() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setVerticalSpacing(double spacing) throws IOException, AutomationException
spacing
- The spacing (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void draw(IDisplay display, IPage page) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)page
- A reference to a com.esri.arcgis.carto.IPage (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |