PdfTranslatorTranslate Method (OcrEngine, OcrDocument, String, Stream, Object) |
Translates an OcrDocument to a new output format writing to the given Stream.
Namespace:
Atalasoft.Ocr
Assembly:
Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Translate(
OcrEngine engine,
OcrDocument doc,
string mimeType,
Stream outStream,
Object translationObject
)
Public Sub Translate (
engine As OcrEngine,
doc As OcrDocument,
mimeType As String,
outStream As Stream,
translationObject As Object
)
Parameters
- engine
- Type: Atalasoft.OcrOcrEngine
The engine that has recognized the document. - doc
- Type: Atalasoft.OcrOcrDocument
The recognized document - mimeType
- Type: SystemString
The requested MIME type - outStream
- Type: System.IOStream
The Stream to write to - translationObject
- Type: SystemObject
The object returned by a previous call to Prepare
Implements
IForeignTranslatorTranslate(OcrEngine, OcrDocument, String, Stream, Object)See Also