Declaration
property Checked[index : Integer] : Boolean;
Description
Specifies the checked status for the item of the specified index (if
Checkboxes have been enabled).
Note: Images that are hidden due to a
filter cannot be checked.
// Copy all checked files to D:\Dest\
for I := 0 to ImageEnMView1.ImageCount - 1 do
if ImageEnMView1.Checked[I] then
WindowsCopy(Handle, ImageEnMView1.ImageFilename[I], 'D:\Dest\', True, True);
// Save only checked images
wasMS := ImageEnMView1.EnableMultiSelect;
try
ImageEnMView1.LockUpdate();
ImageEnMView1.EnableMultiSelect := True;
ImageEnMView1.Deselect();
ImageEnMView1.BeginSelectImages();
for i := 0 to ImageEnMView1.ImageCount - 1 do
if ImageEnMView1.Checked[i] then
ImageEnMView1.SelectedImage := i;
ImageEnMView1.EndSelectImages();
ImageEnMView1.MIO.SaveToFile( 'C:\Images.tiff', ioUnknown, True );
finally
ImageEnMView1.EnableMultiSelect := wasMS;
ImageEnMView1.UnlockUpdate();
end;
See Also
◼CheckedCount