BasicOcrFactoryOcrGlyph Method (IOcrGlyphAccessor, Rectangle, Int32) |
Constructs a new glyph with the given accessor, bounding box and baseline.
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 virtual OcrGlyph OcrGlyph(
IOcrGlyphAccessor accessor,
Rectangle bounds,
int baseline
)
Public Overridable Function OcrGlyph (
accessor As IOcrGlyphAccessor,
bounds As Rectangle,
baseline As Integer
) As OcrGlyph
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