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


ISpatialBookmark.ZoomTo Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IS > ISpatialBookmark Interface > ISpatialBookmark.ZoomTo Method
ArcGIS Developer Help

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