property Layer.ValueToRotateAngle as String
Specifies the expression to convert the value to rotating angle

TypeDescription
String A String value that defines the expression to convert the value to rotating angle
By default, the ValueToRotateAngle property is empty. If the ValueToRotateAngle property is empty, missing or invalid it has no effect. If the ValueToRotateAngle property is valid, the result of evaluation of it, indicates the value of the RotateAngle property, while the OnDrag property is exDoRotate or exDoRotamove. The RotateAngleValid property limits / validates the rotation angle of the layer. The RotateAngle property specifies the angle to rotate the layer. The Change event occurs when the layer's Value property is changed. During the Change event, you can change values of other layers as well. For instance, if the second-hand of the clock is rotated, you can rotate the hour and the minute-hands of the clock as well. Use the DefaultLayer(exDefLayerValueToRotateAngle) property to specify the default value for the ValueToRotateAngle property, before adding the layer. The RotateAngleToValue converts the current rotation angle to a value.

For instance:

For instance:

The ValueToRotateAngle property supports the following keywords:

Also, this property supports all constants, operators and functions defined here.

The Value property indicates the value keyword in the following properties:

The following picture shows the rotation properties of the Layer, relative to the RotateCenterLayer layer:

Any of the following properties can be used to rotate the layer:

The following properties can be used to specify a different rotation center:

The following properties can be used to change the rotation center, while the layer's OnDrag property is exDoRotamove: