This document is archived and information here might be outdated.  Recommended version.


ISpatialBookmark.ZoomTo Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ISpatialBookmark.ZoomTo Method

Zooms to the bookmark.

[Visual Basic .NET]
Public Sub ZoomTo ( _
    ByVal Map As IMap _
)
[C#]
public void ZoomTo (
    IMap Map
);
[C++]
HRESULT ZoomTo(
  IMap* Map
);
[C++]

Parameters Map [in]
Map is a parameter of type IMap

Product Availability

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

See Also

ISpatialBookmark Interface

.NET Samples

Add a custom bookmarks MultiItem to the ToolbarControl (Code Files: SpatialBookmarks)

.NET Related Topics

How to create AOIs and bookmarks