OcrImageRegion Constructor (PolygonF, AtalaImage) |
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 OcrImageRegion(
PolygonF bounds,
AtalaImage parentImage
)
Public Sub New (
bounds As PolygonF,
parentImage As AtalaImage
)
Parameters
- bounds
- Type: Atalasoft.Utils.GeometryPolygonF
The bounding PolygonF of the page element relative to the parent image. - parentImage
- Type: Atalasoft.ImagingAtalaImage
The image from which this image will be taken.
Return Value
Type:
A new OcrImageRegion object.
Remarks This constructor will make a new image by cropping the parent image to the given bounds.
In typical usage, this constructor should not be called directly. Instead, use the
OcrImageRegion method contained in the Factory property of
OcrEngine.
See Also