Control - Rotation Property

Rotation allows a control to rotate a number of degrees about a given origin

Member of Control (PRIM_CTRL)

Data Type - Decimal


The Rotation property specifies the number of degrees to rotate a control about a given origin as specified by the RotationOriginLeft and RotationOriginTop properties.
Rotation has a range of values from 0 to 359.
Rotation, like Scale, SkewLeft and SkewTop, is a visual effect and does not alter the fundamental size and position of the control.  The Left, Top, Height and Width properties maintain their value. Rotated controls are clipped to ensure they fit within the bounds of their parent control.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020