This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IG > IGlobeControl Interface > IGlobeControl.GlobeViewer Property (ArcObjects .NET 10.4 SDK) |
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
This is the GlobeViewer contained within the GlobeControl.
axGlobeControl2.GlobeDisplay=axGlobeControl1.GlobeDisplay;
axGlobeControl2.GlobeDisplay.ActiveViewer=axGlobeControl1.GlobeDisplay.ActiveViewer;
IGlobeViewer globeViewer=axGlobeControl2.GlobeViewer;
AxGlobeControl2.GlobeDisplay=AxGlobeControl1.GlobeDisplay
AxGlobeControl2.GlobeDisplay.ActiveViewer=AxGlobeControl1.GlobeDisplay.ActiveViewer
Dim pGlobeViewer As IGlobeViewer
Set pGlobeViewer=AxGlobeControl2.GlobeViewer