The OcrAutoRecognizeJobOperationEventArgs Constructor is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Initializes a new instance of the OcrAutoRecognizeJobOperationEventArgs class with the specified values.Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal job As IOcrAutoRecognizeJob, _ ByVal operation As OcrAutoRecognizeManagerJobOperation, _ ByVal postOperation As Boolean, _ ByVal document As IOcrDocument, _ ByVal page As IOcrPage, _ ByVal imagePageNumber As Integer, _ ByVal ltdFileName As String, _ ByVal format As DocumentFormat, _ ByVal documentFileName As String, _ ByVal documentWriterInstance As DocumentWriter _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim job As IOcrAutoRecognizeJob Dim operation As OcrAutoRecognizeManagerJobOperation Dim postOperation As Boolean Dim document As IOcrDocument Dim page As IOcrPage Dim imagePageNumber As Integer Dim ltdFileName As String Dim format As DocumentFormat Dim documentFileName As String Dim documentWriterInstance As DocumentWriter Dim instance As New OcrAutoRecognizeJobOperationEventArgs(job, operation, postOperation, document, page, imagePageNumber, ltdFileName, format, documentFileName, documentWriterInstance) |
C# | |
---|---|
public OcrAutoRecognizeJobOperationEventArgs( IOcrAutoRecognizeJob job, OcrAutoRecognizeManagerJobOperation operation, bool postOperation, IOcrDocument document, IOcrPage page, int imagePageNumber, string ltdFileName, DocumentFormat format, string documentFileName, DocumentWriter documentWriterInstance ) |
C++/CLI | |
---|---|
public: OcrAutoRecognizeJobOperationEventArgs( IOcrAutoRecognizeJob^ job, OcrAutoRecognizeManagerJobOperation operation, bool postOperation, IOcrDocument^ document, IOcrPage^ page, int imagePageNumber, String^ ltdFileName, DocumentFormat format, String^ documentFileName, DocumentWriter^ documentWriterInstance ) |
Parameters
- job
- The instance of the IOcrAutoRecognizeJob currently being run
- operation
- The current operation.
- postOperation
- A value indicating whether the operation has run.
- document
- The OCR document being used.
- page
- The OCR page being.
- imagePageNumber
- The 1-based page number in the image file.
- ltdFileName
- Optional name of the LTD file being used.
- format
- The format being used when saving or converting the document.
- documentFileName
- The document file name being used.
- documentWriterInstance
- The document writer instance being used.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7