←Select platform

OcrAutoRecognizeJobData Constructor(Stream,DocumentFormat,string)

Summary

Initializes a new instance of OcrAutoRecognizeJobData with the specified parameters.

Syntax

C#
VB
C++
Public Sub New(ByVal imageStream As Stream, ByVal format As DocumentFormat, ByVal documentFileName As String) 
 MyBase.New 

Parameters

imageStream

The stream containing the source image data. This can be any single or multi-page 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.

Remarks

This constructor will initialize the members of the new OcrAutoRecognizeJobData object as described below:

Member Value
ImageStream

ImageStream

FirstPageNumber

1

LastPageNumber

-1

ZonesFileName

null (Nothing in Visual Basic)

Format

format

DocumentFileName

documentFileName

JobName

null (Nothing in Visual Basic)

UserData

null (Nothing in Visual Basic)

Requirements

Target Platforms

Help Version 20.0.2018.1.18
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly