ImageEn, unit iexUserInteractions

TIECropToolInteraction.Rotation

TIECropToolInteraction.Rotation


Declaration

property Rotation: Double;


Description

The rotation the user has applied to the crop selection (degrees counter-clockwise). This is the programmatic equivalent of the user dragging outside the grips of the crop tool selection.

Note: You must call TImageEnView.Invalidate if you change this property when the crop selection is visible




Example

// Change rotation to 45 deg. CCW
ImageEnView1.CropTool.Rotation := 45;
ImageEnView1.Invalidate();