#include "l_bitmap.h"
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.
Value | Meaning |
---|---|
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
L_INT IgnoreFiltersExample(L_VOID)
{
L_INT nRet;
nRet = L_IgnoreFilters(TEXT("CMP"));
if(nRet != SUCCESS)
return nRet;
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document