This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPageLayout Interface > IPageLayout.SnapGrid Property (ArcObjects .NET 10.5 SDK) |
The snapping grid.
[Visual Basic .NET] Public ReadOnly Property SnapGrid As ISnapGrid
[C#] public ISnapGrid SnapGrid {get;}
[C++]
HRESULT get_SnapGrid(
ISnapGrid** SnapGrid
);
[C++]
Parameters SnapGrid [out, retval]
SnapGrid is a parameter of type ISnapGrid
You can use rulers, guides, and grids in layout view to align elements on the page. A grid is a grid of reference points on the layout that you can use to position elements. The grid may be used as a visual indicator of size and position. The grid can also be used to snap elements into position.
This property returns an ISnapGrid reference on the SnapGrid object.