Click or drag to resize

BasicOcrFactoryOcrGlyph 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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public virtual OcrGlyph OcrGlyph(
	IOcrGlyphAccessor accessor,
	Rectangle bounds,
	int baseline
)

Parameters

accessor
Type: Atalasoft.OcrIOcrGlyphAccessor
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.DrawingRectangle
The bounding rectangle of the object on the page in pixels.
baseline
Type: SystemInt32
The baseline of the text on the page in pixels.

Return Value

Type: OcrGlyph
A new OcrGlyph object.

Implements

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