![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IAOIBookmark Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that control an AOI bookmark.
Description | ||
---|---|---|
![]() |
BookmarkType | Type of the bookmark. |
![]() |
Location | Location of the bookmark. |
![]() |
Name | Name of the bookmark. |
![]() |
ZoomTo | Zooms to the bookmark. |
Interfaces | Description |
---|---|
ISpatialBookmark | Provides access to members that control a spatial bookmark. |
CoClasses and Classes | Description |
---|---|
AOIBookmark | An AOI bookmark. |
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.