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


IGlobeHookHelper.Camera Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IGlobeHookHelper.Camera Property

Camera of hooked control or application.

[Visual Basic .NET]
Public ReadOnly Property Camera As ICamera
[C#]
public ICamera Camera {get;}
[C++]
HRESULT get_Camera(
  ICamera** ppOperationStack
);
[C++]

Parameters ppOperationStack [out, retval]
ppOperationStack is a parameter of type ICamera

Product Availability

Available with ArcGIS Engine.

Description

The ICamera object of the hook passed to the ICommand::OnCreate event. The Camera 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.

See Also

IGlobeHookHelper Interface