ArcObjects Library Reference (Controls)  

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

.NET Related Topics

How to wire ArcObjects .NET events