DocutainSdkDocumentDataReader class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

analyze() Future<String>
Analyzes the currently loaded document and returns the detected data.
getText({int pageNumber = -1}) Future<String>
Detects the text of the currently loaded document and returns it. Use pageNumber if you want the text of just one specific page.
loadFile(String path, {String? password}) Future<bool>
This method loads a file from the given path. If it is an encrypted PDF file, you need to provide the password.
setAnalyzeConfiguration(AnalyzeConfiguration analyzeConfiguration) Future<bool>
Sets the analyze configuration and starts necessary processes for text recognition. It needs to be called right after DocutainSdk.initSDK.