IgnoreFilters method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int IgnoreFilters (System::AnsiString Filters);

Delphi Syntax

IgnoreFilters (String Filters): Integer;

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 Filters 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, PDFInitDir property

Topics:

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