Click or drag to resize

GeoViewGetCurrentViewpoint Method

Gets the current Viewpoint of the view.

Namespace:  Esri.ArcGISRuntime.UI.Controls
Assembly:  Esri.ArcGISRuntime.WPF (in Esri.ArcGISRuntime.WPF.dll) Version: 100.11.0
Syntax
public Viewpoint GetCurrentViewpoint(
	ViewpointType viewpointType
)

Parameters

viewpointType
Type: Esri.ArcGISRuntime.MappingViewpointType
Type of Viewpoint

Return Value

Type: Viewpoint
A Viewpoint if this view is initialized and has a loaded Map or Scene; otherwise, null.
Remarks
To change the view viewpoint, you can use the SetViewpointAsync(Viewpoint) method available on the view.
See Also