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


IGlobeControl.GlobeViewer Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

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(
  IGlobeViewer** pVal
);
[C++]

Parameters pVal [out, retval]
pVal is a parameter of type IGlobeViewer

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