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


ICamera.Target Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (3DAnalyst)  

ICamera.Target Property

The target's position.

[Visual Basic .NET]
Public Property Target As IPoint
[C#]
public IPoint Target {get; set;}
[C++]
HRESULT get_Target(
  IPoint** Target
);
[C++]
HRESULT put_Target(
  IPoint* Target
);
[C++]

Parameters Target [out, retval]
Target is a parameter of type IPoint Target [in]
Target is a parameter of type IPoint

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Remarks

The target is what the observer is looking at, or in other words, what the camera is pointed towards. It uses coordinates that are in the same unit of measure as the scene itself.

See Also

ICamera Interface

.NET Snippets

Toggle Between Surface and Global Navigation Mode | Zoom to 3D Bookmark

.NET Samples

Globe Fly tool (Code Files: Fly) | Navigating around the GlobeControl (Code Files: Navigation) | Custom scene navigation commands (Code Files: Fly)

.NET Related Topics

How to create and zoom to a bookmark in globe