ImageEn, unit iexUserInteractions

TIERotateToolInteraction.KeyboardRotateStep

TIERotateToolInteraction.KeyboardRotateStep


Declaration

property KeyboardRotateStep: Integer;


Description

How much to rotate the image when the user clicks the Left or Right keyboard button.
When rotating the following buttons are supported:
Left: Rotate counter-clockwise
Right: Rotate clockwise
Up/Down: Flip vertically

Set to 0 to disable keyboard support.

Default: 90


Example

// Rotate 45 deg. for each keyboard click
ImageEnView1.RotateTool.KeyboardRotateStep := 45;

// Disable keyboard support
ImageEnView1.RotateTool.KeyboardRotateStep := 0;