ImageEn, unit iesettings

TIEGlobalSettings.LayerRotationGripMaxDist

TIEGlobalSettings.LayerRotationGripMaxDist


Declaration

property LayerRotationGripMaxDist: Integer;


Description

Specifies the maximum distance (in screen pixels) from the selected layer before rotation is available and cursor changes to .
This option applies when mlRotateLayers is specified for MouseInteractLayers.



Note: This option is only relevant when loShowRotationGrip is not specified for LayerOptions

Default: 70


Examples

// Mouse must be closer to layer to allow rotation
IEGlobalSettings().LayerRotationGripMaxDist := 40;

// Do not check mouse position.Rotation is always possible
IEGlobalSettings().LayerRotationGripMaxDist := MAXINT;