Click or drag to resize

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
Syntax
public Task<bool> SetViewpointScaleAsync(
	double scale
)

Parameters

scale
Type: SystemDouble
The scale to zoom to, ie '50000' to zoom to 1:50,000 scale.

Return Value

Type: TaskBoolean
True if the zoom animation completed, false if it was interrupted by another view navigation.
See Also