Provides access to members that control the Snapping guides.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Members
Description | ||
---|---|---|
AddGuide | Adds a guide at the specified position. The position is specified in page units. | |
AreVisible | Indicates if snapping guides are visible. | |
Draw | Draw a fine line showing exactly where objects will snap. | |
DrawHighlight | Draw a highlight around the snap line for a nice visual effect. | |
DrawLevel | Level where guides are drawn. | |
Guide | The nth guide. The position is specified in page units. | |
GuideCount | The number of guides. | |
RemoveAllGuides | Removes all the guides. | |
RemoveGuide | Removes the nth guide. |
CoClasses that implement ISnapGuides
CoClasses and Classes | Description |
---|---|
SnapGuides | Snapping Guides for use with a PageLayout. |
Remarks
You can use guides in the page layout view to align elements on the page.
The PageLayout object has two SnapGuides objects, one for managing horizontal guides, and one for managing vertical guides. Use IPageLayout::VerticalSnapGuides or IPageLayout::HorizontalSnapguides to obtain a reference to the desired SnapGuides object.
Each SnapGuides object manages an internal collection of individual guides. Use ISnapGuides to add a new guide, remove a guide, and turn the visibility of the guides on or off.