ImageEn, unit iemview

TImageEnMView.IsSelected

TImageEnMView.IsSelected


Declaration

function IsSelected(idx: Integer): Boolean;


Description

IsSelected returns true if the image, idx, is currently selected.


Example

// replaces all selected images with 'new.jpg'
for idx := 0 to ImageEnMView1.ImageCount - 1 do
  if ImageEnMView1.IsSelected(idx) then
    ImageEnMView1.SetImageFromFile(idx, 'new.jpg');
end;


See Also

- MultiSelectedImages