Library
|
The LibraryManager type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
GetPageCount | Returns the number of pages in a document. |
|
|
GetVersion | Gets the version of the SDK library. |
|
|
Initialize | Initializes the SDK with the specified resource path. |
|
|
InitLibrary | Initializes the library with the specified library path. |
|
|
LicenseVerify | Verifies the provided license key along with device ID and application ID. |
|
|
OnlineLicenseVerify |
When the result in the registry is empty, it needs to be read from the remote server.
When the result in the registry is not empty, it is first verified locally. Then, the remote content is read during the program execution. If the remote content is different from the local content, the local content will be updated. Otherwise, it will be not updated. |
|
|
Release | Releases all resources used by the library. Should be called when the SDK is no longer needed. |
|
|
ReleaseDocumentAIModel | Release the memory by the AI model. If you want to use the AI function again after this call, you need to call the SetDocumentAIModel interface again. |
|
|
SetDocumentAIModel | Sets the Document AI model for OCR based on the provided file path and language. |
|
|
SetOCRLanguage | Sets the OCR language for document processing. |
|
|
SetProgress | Sets a callback function to track the progress of SDK operations. |