Provides access to members that control an AOI bookmark.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Members
Description | ||
---|---|---|
BookmarkType | Type of the bookmark. | |
Location | Location of the bookmark. | |
Name | Name of the bookmark. | |
ZoomTo | Zooms to the bookmark. |
Inherited Interfaces
Interfaces | Description |
---|---|
ISpatialBookmark | Provides access to members that control a spatial bookmark. |
CoClasses that implement IAOIBookmark
CoClasses and Classes | Description |
---|---|
AOIBookmark | An AOI bookmark. |
Remarks
The AOIBookmark object is used to create an Area of Interest bookmark.
In ArcMap, Area of Interest bookmarks are created using the View menu's Bookmarks->Create command.
This object persists an envelope in its Location property corresponding to the current extent of the map. You can later find the bookmark by its name and set the map’s extent to be equal to the extent stored in the bookmark.
IAOIBookmark inherits from ISpatialBookmark .
To add bookmarks to the map, QueryInterface IMapBookMarks interface from IMap interface and then call the IMapBookmarks::AddBookMark method.
See also IFeatureBookmark and the examples in the Carto library overview.