OcrGlyph Constructor (IOcrGlyphAccessor, Rectangle, Int32, Color) |
Constructs a new OcrGlyph object.
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 OcrGlyph(
IOcrGlyphAccessor accessor,
Rectangle bounds,
int baseline,
Color color
)
Public Sub New (
accessor As IOcrGlyphAccessor,
bounds As Rectangle,
baseline As Integer,
color As Color
)
Parameters
- accessor
- Type: Atalasoft.OcrIOcrGlyphAccessor
The IOcrGlyphAccessor that will be used to access the components of this glyph. - bounds
- Type: System.DrawingRectangle
The bounding Rectangle of the page element in pixels relative to the source image. - baseline
- Type: SystemInt32
The baseline of the text in pixels relative to the image. - color
- Type: System.DrawingColor
The color of the glyph.
Remarks Avoid calling the constructor directly. Use the
OcrGlyph method in the
Factory property.
See Also