ImageEn, unit iexUserInteractions

TIECloneToolInteraction.Cancel

TIECloneToolInteraction.Cancel

Declaration

procedure TIECloneToolInteraction.Cancel();

Description

Clears the selected source for cloning. This is the same as the user clicking the "Esc" key.
After cancelling, the user's next click will set a clone source.

Note: SourceSelected will be set to False, and SourcePoint will be cleared

Example

// "Cancel Clone" button clicked
procedure TMainForm.btnCancelCloneClick(Sender: TObject);
begin
  ImageEnView1.CloneTool.Cancel();
end;