ArcObjects Library Reference (Carto)  

IPageLayout.SnapGrid Property

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

Product Availability

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

Remarks

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.

See Also

IPageLayout Interface

.NET Related Topics

Working with PageLayout elements