Click or drag to resize

OcrGlyph Class

Summary description for OcrGlyph.

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.

Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Atalasoft.OcrOcrGlyph

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 class OcrGlyph : MarshalByRefObject

The OcrGlyph type exposes the following members.

Constructors
  NameDescription
Public methodOcrGlyph(IOcrGlyphAccessor, Rectangle, Int32)
Constructs a new OcrGlyph object.
Public methodOcrGlyph(IOcrGlyphAccessor, Rectangle, Int32, Color)
Constructs a new OcrGlyph object.
Top
Properties
  NameDescription
Public propertyAccessor
The IOcrGlyphAccessor associated with this object.
Public propertyAlternates
The best alternatives to this glyph that were considered by the engine
Public propertyBaseline
The baseline of the text, in pixels from the top of the source image.
Public propertyBounds
The bounding box of the glyph, in pixels coordinates in the source image.
Public propertyChar
This glyph, as a Unicode character
Public propertyCodepoint
The Unicode codepoint of this glyph.
Public propertyColor
The color of this glyph.
Public propertyConfidence
The confidence with which this glyph was recognized by the engine, ranging from 0.0 (no confidence) to 1.0 (complete confidence).
Public propertyStatic memberDefaultImprintFontName
The default font to use. Default is Arial.
Public propertyIsSingleton
True if this glyph represents a single character.
Public propertyText
This glyph, as a string
Public propertyTextKind
The Kind of text for the OcrLine. MachinePrint, HandPrint, Any. OcrTextKind
Top
Methods
  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
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 methodGetFont
The Font used for this page element.
Public methodGetFontFamily
The FontFamily of this glyph.
Public methodGetFontName
The name of the font of this glyph.
Public methodGetFontSize
The font size of this glyph.
Public methodGetFontStyle
The FontStyle of this glyph.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodResetConfidence
Resets the confidence to that provided by the engine.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also