Click or drag to resize

LibraryManager Methods

The LibraryManager type exposes the following members.

Methods
  Name Description
Public method Static member GetPageCount Returns the number of pages in a document.
Public method Static member GetVersion Gets the version of the SDK library.
Public method Static member Initialize Initializes the SDK with the specified resource path.
Public method Static member InitLibrary Initializes the library with the specified library path.
Public method Static member LicenseVerify Verifies the provided license key along with device ID and application ID.
Public method Static member 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.
Public method Static member Release Releases all resources used by the library. Should be called when the SDK is no longer needed.
Public method Static member 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.
Public method Static member SetDocumentAIModel Sets the Document AI model for OCR based on the provided file path and language.
Public method Static member SetOCRLanguage Sets the OCR language for document processing.
Public method Static member SetProgress Sets a callback function to track the progress of SDK operations.
Top
See Also