This document is archived and information here might be outdated.  Recommended version.


IPageLayout.HorizontalSnapGuides Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPageLayout Interface > IPageLayout.HorizontalSnapGuides Property
ArcGIS Developer Help

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