ArcObjects Library Reference (Carto)  

ISnapGrid Interface

Provides access to members that control the Snapping grid.

Product Availability

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

Members

Description
Method Draw Draw the grid.
Read/write property HorizontalSpacing The horizontal distance between grid points.
Read/write property IsVisible Indicates if the snapping grid is visible.
Read/write property VerticalSpacing The vertical distance between grid points.

CoClasses that implement ISnapGrid

CoClasses and Classes Description
SnapGrid Snapping Grid for use with a PageLayout.

Remarks

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.

.NET Related Topics

Working with PageLayout elements