Click or drag to resize

AbbyyGlyphAccessor Class

IOcrGlyphAccessor defines an interface for accessing data elements for a glyph.
Inheritance Hierarchy

Namespace:  Atalasoft.Ocr.Abbyy
Assembly:  Atalasoft.dotImage.Ocr.Abbyy (in Atalasoft.dotImage.Ocr.Abbyy.dll) Version: (.NET 4.5.2, x86)
public sealed class AbbyyGlyphAccessor : IOcrGlyphAccessor

The AbbyyGlyphAccessor type exposes the following members.

Public propertyBaseline
This property represents the baseline of the text in pixels relative to the source image.
Public propertyBounds
This property represents the bounding box of the glyph in pixels relative to the source image.
Public propertyChar
The unicode representation of this glyph.
Public propertyColor
Returns the color of this glyph.
Public propertyConfidence
This property represents the confidence with which this glyph was recognized by the engine, ranging from 0.0 (no confidence) to 1.0 (complete confidence).
Public propertyGlyph
This property is used for setting the OcrGlyph that this accessor is attached to.
Public propertyIsSingleton
This property represents a boolean that determines if this glyph is a single character or not.
Public propertyText
This property is a string that represents the text of this glyph.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetFont
Return the font used for this glyph using the given resolution, font mapper and font builder.
Public methodGetFontFamily
Get the FontFamily for this glyph.
Public methodGetFontName
Returns the name of the font used for this glyph.
Public methodGetFontSize
Get the font size for this glyph.
Public methodGetFontStyle
Get the FontStyle for this glyph.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
This interface is usually provided by a low-level engine implementation and is typically not defined in client code. If a client needs to construct an OcrGlyph through the IOcrFactory interface, it may use the BasicOcrGlyphAccessor class for a version that is not tied to any given engine.
See Also