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


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

IGlobeHookHelper.GlobeDisplay Property

GlobeDisplay of hooked control or application.

[Visual Basic .NET]
Public ReadOnly Property GlobeDisplay As IGlobeDisplay
[C#]
public IGlobeDisplay GlobeDisplay {get;}
[C++]
HRESULT get_GlobeDisplay(
  IGlobeDisplay** ppGlobeDisplay
);
[C++]
Parameters
ppGlobeDisplay [out, retval]

ppGlobeDisplay is a parameter of type IGlobeDisplay**

Product Availability

Available with ArcGIS Engine.

Description

The IGlobeDisplay object of the hook passed to the ICommand::OnCreate event. The GlobeDisplay is returned regardless of whether the hook is a GlobeControl, ToolbarControl (with a 'buddy' GlobeControl) or ArcGlobe.

Errors Returned

1060 800A0424: The supplied hook is not valid. 

Remarks

This property can return Nothing if the GlobeControl has not been initialized to share a GlobeDisplay with another GlobeControl.

See Also

IGlobeHookHelper Interface