Show / Hide Table of Contents

Method SetViewpointScaleAsync

SetViewpointScaleAsync(double)

Zooms the map view to the provided scale around its current center point.

Declaration
public Task<bool> SetViewpointScaleAsync(double scale)
Parameters
Type Name Description
double scale

The scale to zoom to. For example, 50000 is a scale of 1:50,000.

Returns
Type Description
Task<bool>

True if the zoom animation completed, false if it was interrupted by another view navigation.

Applies to

Platforms and versions
TargetVersions
.NET200.0 - 300.0
.NET Windows200.0 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
In this article
Provide feedback
Back to top Copyright © 2025 Esri.