BasicOcrFactoryOcrGlyph 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.4.0.9.0.377 (.NET 4.5.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.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. - color
- Type: System.DrawingColor
The color of this glyph.
Return Value
Type:
OcrGlyphImplements
IOcrFactoryOcrGlyph(IOcrGlyphAccessor, Rectangle, Int32, Color)See Also