This document is archived and information here might be outdated. Recommended version. |
Zooms the globe display to the bookmark.
[Visual Basic .NET]
Public Sub CenterAtBookmark ( _
ByVal vBookmarkID As Object _
)
[C#]
public void CenterAtBookmark (
object vBookmarkID
);
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).