Click or drag to resize

BasicOcrFactory.OcrGlyph Method (IOcrGlyphAccessor, Rectangle, Int32)

Constructs a new glyph with the given accessor, bounding box and baseline.
Constructs a new OcrGlyph object.

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 virtual OcrGlyph OcrGlyph(
	IOcrGlyphAccessor accessor,
	Rectangle bounds,
	int baseline
)

Parameters

accessor
Type: Atalasoft.Ocr.IOcrGlyphAccessor
The accessor that will be used for this object. This is usually supplied by the engine during recognition. If you need to call OcrGlyph to change a glyph in an existing document, you can use a BasicOcrGlyphAccessor object.
bounds
Type: System.Drawing.Rectangle
The bounding rectangle of the object on the page in pixels.
baseline
Type: System.Int32
The baseline of the text on the page in pixels.

Return Value

Type: OcrGlyph
A new OcrGlyph object.

Implements

IOcrFactory.OcrGlyph(IOcrGlyphAccessor, Rectangle, Int32)
Remarks
Glyphs created through this method will be black.
See Also