PdfTranslatorPrepare Method (OcrEngine, OcrDocument, String, Stream) |
Prepares the PdfTranslator for output
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 Object Prepare(
OcrEngine engine,
OcrDocument doc,
string mimeType,
Stream outStream
)
Public Function Prepare (
engine As OcrEngine,
doc As OcrDocument,
mimeType As String,
outStream As Stream
) As Object
Parameters
- engine
- Type: Atalasoft.OcrOcrEngine
The OcrEngine requesting translation - doc
- Type: Atalasoft.OcrOcrDocument
The OcrDocument which receives OcrPages during translation - mimeType
- Type: SystemString
The requested output mime type. This should always be "application/pdf" - outStream
- Type: System.IOStream
A stream for the output PDF file. This stream should allow seeking
Return Value
Type:
ObjectImplements
IPerPageTranslatorPrepare(OcrEngine, OcrDocument, String, Stream)See Also