Click or drag to resize

IForeignTranslator Interface

IForeignTranslator is a interface used to define how an OcrDocument will be translated to another format.

Namespace:  Atalasoft.Ocr
Assembly:  Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: (.NET 4.5.2, x86)
public interface IForeignTranslator : ITranslator

The IForeignTranslator type exposes the following members.

Public methodCanStream
Checks to see if this translator is capable of streaming.
(Inherited from ITranslator.)
Public methodFinish
Allow a foreign translator to perform any necessary cleanup.
Public methodPrepare
Prepare a foreign translator for translation.
Public methodSupported
Get an array of mime types supported by this translator.
(Inherited from ITranslator.)
Public methodSupports
Checks to see if a specific mime type is supported by this translator.
(Inherited from ITranslator.)
Public methodTranslate(OcrEngine, OcrDocument, String, Stream, Object)
Public methodTranslate(OcrEngine, OcrDocument, String, String, Object)

Classes implementing IForeignTranslator are used to to augment or replace native translation capability provided by an OcrEngine. These translators can be used across all OCR Engines, thus are not specific to a single engine. TextTranslator and PdfTranslator are both Foreign Translators.

See Also