PreLoadFilters Example for Delphi
var
RasterIO: LEADRasterIO;
begin
RasterIO:= CreateComObject(CLASS_LEADRasterIO)as LEADRasterIO;
//preload the BMP, PCX, FAX, and TIFF filters,
//and allow 1 filter to be cached, while always
//keeping 3 loaded.
RasterIO.PreLoadFilters (3, 1, 'BMP,PCX,FAX,TIF');
//..... load an image
end;