OcrGlyph Class |
OcrGlyph defines a textual glyph on the page. Conceptually, a glyph is the representation of a unit of written or printed text. A glyph may consist of a single character such as a single letter or may consist of several characters that are typographically joined in a unit, as in the case of ligatures.
Namespace: Atalasoft.Ocr
The OcrGlyph type exposes the following members.
Name | Description | |
---|---|---|
OcrGlyph(IOcrGlyphAccessor, Rectangle, Int32) | Constructs a new OcrGlyph object. | |
OcrGlyph(IOcrGlyphAccessor, Rectangle, Int32, Color) | Constructs a new OcrGlyph object. |
Name | Description | |
---|---|---|
Accessor | The IOcrGlyphAccessor associated with this object. | |
Alternates | The best alternatives to this glyph that were considered by the engine | |
Baseline | The baseline of the text, in pixels from the top of the source image. | |
Bounds | The bounding box of the glyph, in pixels coordinates in the source image. | |
Char | This glyph, as a Unicode character | |
Codepoint | The Unicode codepoint of this glyph. | |
Color | The color of this glyph. | |
Confidence | The confidence with which this glyph was recognized by the engine, ranging from
0.0 (no confidence) to 1.0 (complete confidence). | |
DefaultImprintFontName |
The default font to use. Default is Arial.
| |
IsSingleton | True if this glyph represents a single character. | |
Text | This glyph, as a string | |
TextKind |
The Kind of text for the OcrLine. MachinePrint, HandPrint, Any. OcrTextKind |
Name | Description | |
---|---|---|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetFont | The Font used for this page element. | |
GetFontFamily | The FontFamily of this glyph. | |
GetFontName | The name of the font of this glyph. | |
GetFontSize | The font size of this glyph. | |
GetFontStyle | The FontStyle of this glyph. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
ResetConfidence | Resets the confidence to that provided by the engine. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |