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


IARGlobe.CenterAtBookmark Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (PublisherControls)  

IARGlobe.CenterAtBookmark Method

Zooms the globe display to the bookmark.

[Visual Basic .NET]
Public Sub CenterAtBookmark ( _
    ByVal vBookmarkID As Object _
)
[C#]
public void CenterAtBookmark (
    object vBookmarkID
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Centers the spatial bookmark in the display to make it visible. ARGlobe::Elevation and ARGlobe::Pitch, which partly determine the ARGlobe observers location and view, will change to that of the observer location when the spatial bookmark was created.

Specify a BookmarkName or a zero-based index to center a spatial bookmark. For example, to center the first spatial bookmark in the collection, pass an index of 0, and to center the last spatial bookmark in the layer collection, pass an index of (BookmarkCount - 1).

See Also

IARGlobe Interface