All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

MapControl.RotateAt(Double, CoordPoint) Method

Rotates a map at the specified point.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v20.2.dll

Declaration

public void RotateAt(
    double angle,
    CoordPoint center
)
Public Sub RotateAt(
    angle As Double,
    center As CoordPoint
)

Parameters

Name Type Description
angle Double

The angle in degrees.

center CoordPoint

A coordinate point that specifies the rotation point.

Remarks

The following code rotates the map 20 degrees:

mapControl.RotateAt(20, mapControl.CenterPoint);

Alternatively, you can use the Angle property to specify the map's rotation.

See Also