This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control a feature bookmark.
Name | Description | |
---|---|---|
BookmarkType | Type of the bookmark. | |
Draw | Draws the feature on the map display. | |
FeatureClass | Feature class. | |
FeatureId | Feature id. | |
Flash | Flashes the feature on the map display. | |
Name | Name of the bookmark. | |
PanTo | Pans to the feature on the map display. | |
ZoomTo | Zooms to the bookmark. |
Interfaces | Description |
---|---|
ISpatialBookmark | Provides access to members that control a spatial bookmark. |
Classes | Description |
---|---|
FeatureBookmark | A feature bookmark. |
The FeatureBookmark object is used to create a Feature bookmark.
To create a Feature bookmark in ArcMap, you would use the Identify tool, Identify a feature and use the Set Bookmark command in the context menu.
This object stores the ID of a feature and the feature class it belongs to in the FeatureID and FeatureClass properties. You can later find the bookmark by its name and display the corresponding feature.
IFeatureBookmark inherits from ISpatialBookmark .
To add bookmarks to the map, QueryInterface IMapBookMarks interface from IMap interface and then call the IMapBookmarks::AddBookMark method.
See also IAOIBookmark and the examples in the Carto library overview.
The Draw, Flash and PanTo methods are currently not implemented.