com.esri.arcgis.carto
Interface IMapBookmarks2

All Superinterfaces:
Serializable
All Known Implementing Classes:
Map

public interface IMapBookmarks2
extends Serializable

Provides access to members that control the map bookmarks.

Description

This interface is new at ArcGIS 9.3.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void moveBookmarkTo(ISpatialBookmark bookmark, int index)
          Moves a bookmark in the collection.
 void sortBookmarks(boolean ascending)
          Adds a bookmark to the collection.
 

Method Detail

moveBookmarkTo

void moveBookmarkTo(ISpatialBookmark bookmark,
                    int index)
                    throws IOException,
                           AutomationException
Moves a bookmark in the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
bookmark - A reference to a com.esri.arcgis.carto.ISpatialBookmark (in)
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sortBookmarks

void sortBookmarks(boolean ascending)
                   throws IOException,
                          AutomationException
Adds a bookmark to the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
ascending - The ascending (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.