Gets or sets the viewing position for the MapItem.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public virtual Viewpoint Viewpoint { get; set; }
Visual Basic (Declaration)
Public Overridable Property Viewpoint As Viewpoint

Field Value

A viewpoint for the MapItem; the default is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

The viewpoint allows you to define an appropriate viewing position for the MapItem. The position can be created using an envelope with optional rotation, or using an observer\target pair of points; either viewpoint type will work in both 2D and 3D display modes. This property is the primary location used by the ArcGIS Explorer application when navigating to an item in the map. If the viewpoint property is nullNothingnullptra null reference (Nothing in Visual Basic), other criteria will be used to navigate to the item e.g. the extent of a Layer.

See Also