ImageEn, unit iemview

TImageEnMView.RemoveDuplicates

TImageEnMView.RemoveDuplicates


Declaration

function RemoveDuplicates(): Integer;


Description

Locate images with duplicate content in the TImageEnMView and remove other instances.
Returns the number of removed pages.

Note:
Does not call OnDestroyImage
Cannot be used if a TIEDBMultiBitmap is attached to the control


Examples

// Ensure there are no blank images in our TImageEnMView after filling it from a folder
ImageEnMView1.Clear;
ImageEnMView1.StoreType := ietNormal;
ImageEnMView1.FillFromDirectory('C:\Images');
ImageEnMView1.RemoveDuplicates();