Sets the file options used by LEADTOOLS when loading encrypted files.
#include "l_bitmap.h"
L_LTFIL_API L_INT EXT_FUNCTION L_SetDecryptOptions(pOptions)
Pointer to a structure that contains the options used when loading encrypted files.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
The values set by this function are valid only for the current thread. To change the values used by the current thread, this function must be called again from that thread.
These settings are used for loading all encrypted files (DOC, DOCX, PDF, PPT, PPTX, XLS, XLSX, XLSB, etc). An additional password can be provided for loading encrypted PDF files using L_SetPDFOptions.
The following scenarios are possible when loading encrypted files:
L_SetDecryptOptions
.L_SetDecryptOptions
or L_SetPDFOptions. Both can also be used.To get the current options used when loading encrypted files, call L_GetDecryptOptions.
Win32, x64.
For an example, refer to FILEDECRYPTCALLBACK.
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