Show / Hide Table of Contents

Method SetViewpointRotationAsync

SetViewpointRotationAsync(double)

Sets the rotation of the map view to the provided angle.

Declaration
public Task<bool> SetViewpointRotationAsync(double angleDegrees)
Parameters
Type Name Description
double angleDegrees

The degrees to rotate to (in counterclockwise direction).

Returns
Type Description
Task<bool>

True if the viewpoint has been successfully set. Otherwise, false.

Remarks

Angle will be normalized between 0 and 360 degrees.

Applies to

Platforms and versions
TargetVersions
.NET Windows100.13 - 300.0
.NET Framework100.0 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.