L_LTFIL_API L_INT L_IgnoreFilters(pszFilters)
Specifies which file filters LEADTOOLS should NEVER load, even if present.
Character string containing which filters should be ignored and therefore not loaded. pszFilters has the same format as in L_PreLoadFilters.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Use this function if you never want to load a particular file filter(s).
The files specified in L_PreLoadFilters take priority over the files specified in L_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.
In case the current ignored filters list should be changed, call the L_GetIgnoreFilters function before calling this function.
Required DLLs and Libraries
Win32, x64, Linux.
This example tells LEADTOOLS not to load the CMP filter.
Ignore CMP filter, never load CMP or JPEG files
nRet = L_IgnoreFilters(TEXT("CMP"));
if(nRet != SUCCESS)
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries