Show / Hide Table of Contents

Method SetViewpointAsync

SetViewpointAsync(Viewpoint)

Animates the view to the given Viewpoint location

Declaration
public Task<bool> SetViewpointAsync(Viewpoint viewpoint)
Parameters
Type Name Description
Viewpoint viewpoint

Viewpoint object

Returns
Type Description
Task<Boolean>

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

See Also
SetViewpoint(Viewpoint)

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 200.0

SetViewpointAsync(Viewpoint, TimeSpan)

Animates the view to the given Viewpoint location

Declaration
public Task<bool> SetViewpointAsync(Viewpoint viewpoint, TimeSpan duration)
Parameters
Type Name Description
Viewpoint viewpoint

Viewpoint object

TimeSpan duration

Duration of the animation

Returns
Type Description
Task<Boolean>

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

See Also
SetViewpointAsync(Viewpoint)
SetViewpoint(Viewpoint)

Applies to

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