ArcObjects Library Reference (Controls)  

IGlobeControl.GlobeViewer Property

The GlobeViewer associated with the GlobeControl.

ERROR: Syntax information about IGlobeControl.GlobeViewer may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.Controls.dll

[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