Show / Hide Table of Contents

Method SetViewpointScaleAsync

SetViewpointScaleAsync(Double)

Zooms to the given scale.

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

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

Returns
Type Description
Task<Boolean>

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

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 200.0
In This Article
Back to top Copyright © 2022 Esri.