public OcrAutoRecognizeJobData(
Stream imageStream,
DocumentFormat format,
string documentFileName
)
Public Sub New(ByVal imageStream As Stream, ByVal format As DocumentFormat, ByVal documentFileName As String)
MyBase.New
public:
OcrAutoRecognizeJobData(Stream^ imageStream, DocumentFormat^ format, String^ documentFileName)
imageStream
The stream containing the source image data. This can be any single or multipage image file format supported by LEADTOOLS. This member cannot be a null reference.
format
The output document format. This can be any of the supported DocumentFormat such as PDF, DOC and TEXT.
If this member is DocumentFormat.User, then the document is saved using the native engine format set in IOcrDocumentManager.EngineFormat when the engine used supports native formats, otherwise an exception will be thrown.
documentFileName
The name of the output document file. When recognition is completed, this file will be created on disk. This member cannot be a null reference.
This constructor will initialize the members of the new OcrAutoRecognizeJobData object as described below:
Member | Value |
---|---|
ImageStream | |
FirstPageNumber |
1 |
LastPageNumber |
-1 |
ZonesFileName |
null (Nothing in Visual Basic) |
Format | |
DocumentFileName | |
DocumentStream |
null |
JobName |
null (Nothing in Visual Basic) |
UserData |
null (Nothing in Visual Basic) |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document