IgnoreFilters method (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short IgnoreFilters (BSTR pszFilters);

Overview

Refer to Loading Filters

Remarks

Specifies which file filters LEADTOOLS should NEVER load, even if present. Use this method if you never want to load a particular file filter(s). This is useful for instance if you never load AVI files and you want to ignore the AVI filter since this filter on its own loads all the DLLs required for Video for Windows (there are about 10 of them).

The files specified in PreLoadFilters take priority over the files specified in IgnoreFilters. This means that if the filter is present in pszFilters for both methods, then the filter will be loaded and will not be ignored.

Note that IgnoreFilters has effect only if called prior to loading, saving or getting information about a file. Calling this method after that will have no effect.

See Also

Elements

PreLoadFilters method

Topics

Working with the Control: General Behavior, Files To Be Included With Your Application