This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control a spatial bookmark.
Name | Description | |
---|---|---|
BookmarkType | Type of the bookmark. | |
Name | Name of the bookmark. | |
ZoomTo | Zooms to the bookmark. |
CoClasses and Classes | Description |
---|---|
AOIBookmark | An AOI bookmark. |
FeatureBookmark | A feature bookmark. |
The ISpatialBookmark interface defines all the common functionality of spatial bookmarks, particularly the name of the bookmark and a zoom function. Bookmarks save map extents along with a name identifying them and so make it easy to jump to a specific location on the map.
Use this interface to check the name of a spatial bookmark and zoom to the extent stored in a bookmark. The ZoomTo function changes the map�s extent via ActiveView::Extent. ZoomTo does not automatically invalidate the display.
There are currently two types of spatial bookmarks in ArcMap: Area of Interest and Feature bookmarks. Both types of spatial bookmarks are managed by the Map object for which they store extents. Bookmarks are persisted in the map document. You can access a Map�s spatial books using the IMapBookmarks interface. This interface has methods for accessing bookmarks, adding new ones, and deleting old ones.
Implement the ISpatialBookmark interface to create new custom spatial bookmarks.
See also IAOIBookmark, IFeatureBookmark and the examples in the Carto library overview.