ImageEn, unit iexUserInteractions

TIECloneToolInteraction.SourceSelected

TIECloneToolInteraction.SourceSelected


Declaration

property SourceSelected: Boolean; (Read-Only)


Description

Returns true if the user has clicked on the image to select a source for cloning.

If False, then the next click will select a source for cloning.
If True, then the next click will clone content to the destination

Note: SourceSelected is read-only. Call Cancel to set SourceSelected to False


Example

if ImageEnView1.CloneTool.SourceSelected = False then
  lblInfo.Caption := 'Click the image to select an area to clone'
else
  lblInfo.Caption := 'Click the image to commence cloning';


See Also

SourcePoint
Cancel