User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_viewerwnd.rotationangle

Table of Contents

ITGIS_ViewerWnd.RotationAngle property

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_ViewerWnd.RotationAngle | Methods | Properties

Angle of viewer rotation in radians.

Available also on: Delphi FMX | .NET WinForms | Java.

Syntax

// C#
public Double RotationAngle
{
  get {}
  set {}
}
' VisualBasic
Public Property RotationAngle As Double
  Get
  End Get
  Set(ByVal value As Double)
  End Set
End Property
// Oxygene
public
  property RotationAngle : Double read read;

Value

Type
double
Double

Remarks

If a map is rotated, remember that rotation is treated as projection, so coordinates are transformable. If map will be rotated, the using RestrictedDrag is not recommended.
See also RotationPoint and TGIS_Layer.Unproject.

Example

This is a simple code how to rotate a map. Suppose we have a GIS object of TGIS_ViewerWnd class.

2020/05/22 21:51