DynamsoftCodeParser Module
The CodeParser module is defined in the namespace Dynamsoft.DCP
. It includes the classes CodeParser
and CodeParserModule
along with a few interfaces and enumerations.
CodeParserModule Class
This class defines common functionality in the CodeParser
module. At present, there is only one API.
API Name | Description |
---|---|
static getVersion() |
Returns the version of the CodeParser module. |
static loadSpec() |
Loads the specification for a certain type of code strings. |
CodeParser Class
The CodeParser
class enable users to parse given bytes or a string.
Method | Description |
---|---|
static createInstance() |
Initializes a new instance of the CodeParser class. |
dispose() | Releases all resources used by the CodeParser object. |
disposed | Returns whether the CodeParser object has been disposed of. |
initSettings | Initializes runtime settings with the settings in a given JSON string. |
resetSettings | Resets runtime settings to default. |
parse | Parses code data for readable results. |