IgnoreFilters example for Delphi
This example shows how to ignore filters so that certain files are not loaded.
var
RasterIO: LEADRasterIO;
begin
RasterIO:= CreateComObject (CLASS_LEADRasterIO) as LEADRasterIO;
//First, make sure PreLoaded Filters does not
//contain CMP, and that 0 filters can be cached
RasterIO.PreLoadFilters (3, 0, 'BMP,FAX,TIF');
//now, ignore cmp filter (never load cmp files)
RasterIO.IgnoreFilters ('CMP');
end;