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


IGlobeControl.GlobeViewer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IG > IGlobeControl Interface > IGlobeControl.GlobeViewer Property
ArcGIS Developer Help

IGlobeControl.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

IGlobeControl Interface