Show / Hide Table of Contents

Method SetViewpointAsync

SetViewpointAsync(Viewpoint, TimeSpan, AnimationCurve)

Animates the view to the given Viewpoint location using the provided animation curve

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

Viewpoint object

TimeSpan duration

Duration of the animation

AnimationCurve animationCurve

The animation curve for controlling the acceleration and deceleration of the animation.

Returns
Type Description
Task<Boolean>

True if the set view 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.