ArcObjects Library Reference (Controls)  

IGlobeControl Interface

Provides access to members that control the GlobeControl.

Product Availability

Available with ArcGIS Engine.

Description

The IGlobeControl interface is a starting point for any tasks related to the GlobeControl, such as setting general appearance, adding globe documents, managing the globe, globe display and globe camera, and setting the current tool. 

Members

Description
Method AboutBox Displays a dialog of information about the GlobeControl.
Read/write property Appearance The appearance of the GlobeControl.
Read/write property BackColor Background color of the GlobeControl.
Read/write property BorderStyle The border style of the GlobeControl.
Method Check3dFile Checks if a filename is a Globe document.
Read/write property CurrentTool Current active tool for the GlobeControl. Set to nothing to clear the tool.
Read/write property CustomProperty A property to associate data with a control.
Read/write property DocumentFilename The filename of the last globe document loaded into the control.
Read/write property Enabled Indicates whether the GlobeControl can respond to user generated events.
Read-only property Globe The Globe object associated with the GlobeControl.
Read/write property GlobeCamera The GlobeCamera object associated with the GlobeControl.
Read/write property GlobeDisplay The GlobeDisplay object associated with the GlobeControl.
Read-only property GlobeViewer The GlobeViewer associated with the GlobeControl.
Read-only property hWnd Handle to the window associated with the GlobeControl.
Read/write property KeyIntercept A property that specifies interception of key strokes that are normally handled by the container. When intercepted the OnKeyDown and OnKeyUp events will be called. This value can be a combined bit mask of esriKeyIntercept enum values.
Method Load3dFile Loads a Globe document into the GlobeControl.
Read/write property MouseIcon Custom mouse icon used if MousePointer is 99.
Read/write property MousePointer The mouse pointer displayed over the GlobeControl.
Read/write property Navigate Indicates if the GlobeControl performs default scene navigation in response to mouse events.
Read-only property Object A property that returns the underlying control. This can be used when the control is inside a wrapper object that has been added by a development environment.
Read/write property OverrideBackColor Indicates whether to override the background color of the globe document.
Read/write property ShowGlobeTips Indicates the type of globe tips that are shown.
Read/write property TipDelay The delay before globe tips are shown.
Read/write property TipStyle The style of globe tips.

CoClasses that implement IGlobeControl

CoClasses and Classes Description
GlobeControl Esri GlobeControl
[C#]

When querying interface to IGlobeControl in Visual Basic .NET or Visual C# .NET the Object property or container specific code must be used. This is because .NET contains the real control inside a wrapper object known as an host.

IGlobeControl globeControl = axGlobeControl1.Object as IGlobeControl;

[Visual Basic .NET]

When querying interface to IGlobeControl in Visual Basic .NET or Visual C# .NET the Object property or container specific code must be used. This is because .NET contains the real control inside a wrapper object known as an host.

Dim globeControl As IGlobeControl = AxGlobeControl1.Object