ImageEn, unit iexUserInteractions

TIECropToolInteraction.Enact

TIECropToolInteraction.Enact


Declaration

function TIECropToolInteraction.Enact(): Boolean;


Description

Crop the image to the selection. This is the same as the user clicking the "Enter" key.
Result is false if there is no crop selection


Example

// "Apply Crop" button clicked
procedure TMainForm.btnApplyCropClick(Sender: TObject);
begin
  ImageEnView1.CropTool.Crop();
end;


See Also

- Cancel
- EnactCurrentTool