Click or drag to resize

IOcrGlyphAccessor Interface

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

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 interface IOcrGlyphAccessor

The IOcrGlyphAccessor type exposes the following members.

Properties
  NameDescription
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.
Top
Methods
  NameDescription
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.
Top
Remarks
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