BasicOcrFactory.OcrGlyph Method (IOcrGlyphAccessor, Rectangle, Int32, Color) |
Constructs a new glyph with the given accessor, bounding box, baseline and color.
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,
Color color
)
Public Overridable Function OcrGlyph (
accessor As IOcrGlyphAccessor,
bounds As Rectangle,
baseline As Integer,
color As Color
) As OcrGlyph
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. - color
- Type: System.Drawing.Color
The color of this glyph.
Return Value
Type:
OcrGlyphImplements
IOcrFactory.OcrGlyph(IOcrGlyphAccessor, Rectangle, Int32, Color)See Also