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


IGlobeControlDefault.GlobeViewer Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IGlobeControlDefault.GlobeViewer Property

The GlobeViewer associated with the GlobeControl.

[Visual Basic .NET]
Public ReadOnly Property GlobeViewer As IGlobeViewer
[C#]
public IGlobeViewer GlobeViewer {get;}
[C++]
HRESULT get_GlobeViewer(
void
);

Product Availability

Available with ArcGIS Engine.

Description

This is the GlobeViewer contained within the GlobeControl.

[C#]
axGlobeControl2.GlobeDisplay=axGlobeControl1.GlobeDisplay;
axGlobeControl2.GlobeDisplay.ActiveViewer=axGlobeControl1.GlobeDisplay.ActiveViewer;

IGlobeViewer globeViewer=axGlobeControl2.GlobeViewer;
[Visual Basic .NET]
AxGlobeControl2.GlobeDisplay=AxGlobeControl1.GlobeDisplay
AxGlobeControl2.GlobeDisplay.ActiveViewer=AxGlobeControl1.GlobeDisplay.ActiveViewer

Dim pGlobeViewer As IGlobeViewer
Set pGlobeViewer=AxGlobeControl2.GlobeViewer

See Also

IGlobeControlDefault Interface