Sets the file options used by LEADTOOLS when loading encrypted files.
Pointer to a structure that contains the options used when loading encrypted files.
|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_SetDecryptOptionsor L_SetPDFOptions. Both can also be used.
To get the current options used when loading encrypted files, call L_GetDecryptOptions.
For an example, refer to FILEDECRYPTCALLBACK.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries