MapViewSetViewpointScaleAsync Method |
Zooms to the given scale.
Namespace:
Esri.ArcGISRuntime.UI.Controls
Assembly:
Esri.ArcGISRuntime.WPF (in Esri.ArcGISRuntime.WPF.dll) Version: 100.9.0
Syntaxpublic Task<bool> SetViewpointScaleAsync(
double scale
)
Public Function SetViewpointScaleAsync (
scale As Double
) As Task(Of Boolean)
Parameters
- scale
- Type: SystemDouble
The scale to zoom to, ie '50000' to zoom to 1:50,000 scale.
Return Value
Type:
TaskBooleanTrue if the zoom animation completed,
false if it was interrupted by another view navigation.
See Also