Click or drag to resize

TextTranslator Class

Outputs OCR into formatted text.
Inheritance Hierarchy
System.Object
  Atalasoft.Ocr.TextTranslator

Namespace:  Atalasoft.Ocr
Assembly:  Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public class TextTranslator : IForeignTranslator, 
	ITranslator

The TextTranslator type exposes the following members.

Constructors
  NameDescription
Public methodTextTranslator()
Default Constructor for TextTranslator.
Public methodTextTranslator(TextWhitespaceMode, String, Single, Single, Encoding, Single)
Initializes a new instance of the TextTranslator class with given parameter values.
Top
Properties
  NameDescription
Public propertyCharacterSpaceMaximum
Property that allows for the getting and setting of the character width scale
Public propertyEncodingMethod
Property that allows for the getting and setting of the text encoding method.
Public propertyLineMergeFactor
Property that allows for the getting and setting of the character height scale.
Public propertyLineSpacingCutOff
Property that allows for the getting and setting of the line space cut off.
Public propertyLineTerminator
Property that allows for the getting and setting of the line terminator.
Public propertyWhitespace
Property that allows for the getting and setting of the Whitespace parameter.
Top
Methods
  NameDescription
Public methodCanStream
Checks to see if this translator is capable of streaming.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFinish
Allow a foreign translator to perform any necessary cleanup.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepare
Prepare a foreign translator for translation.
Public methodSupported
Get an array of mime types supported by this translator.
Public methodSupports
Checks to see if a specific mime type is supported by this translator.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTranslate(OcrEngine, OcrDocument, String, Stream, Object)
Public methodTranslate(OcrEngine, OcrDocument, String, String, Object)
Top
Remarks
Supports the MIME Type "text/plain".
See Also