Gets the viewing position for the map display.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public Viewpoint GetViewpoint() |
Visual Basic (Declaration) |
---|
Public Function GetViewpoint As Viewpoint |
Return Value
A Viewpoint that encapsulates the current viewing position of the display.Remarks
The format of the viewpoint returned by this method will depend on the current display mode:
- In 2D the Viewpoint returned will contain an envelope object with optional rotation.
- In 3D the Viewpoint returned will contain pair of points, representing the observer and target locations. Together the observer and target determine the current view of the globe.