ArcObjects Library Reference (Carto)  

IPageLayout.HorizontalSnapGuides Property

The horizontal snapping guides.

[Visual Basic .NET]
Public ReadOnly Property HorizontalSnapGuides As ISnapGuides
[C#]
public ISnapGuides HorizontalSnapGuides {get;}
[C++]
HRESULT get_HorizontalSnapGuides(
  ISnapGuides** SnapGuides
);
[C++]

Parameters

SnapGuides [out, retval]

  SnapGuides is a parameter of type ISnapGuides

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.  Guides are straight lines that you can use to align elements on the page.

The PageLayout object has two SnapGuides objects, one for managing horizontal guides and one for managing vertical guides.  This property returns an ISnapGuides reference on the horizontal SnapGuides object.

See Also

IPageLayout Interface

.NET Related Topics

Working with PageLayout elements |