OcrImageRegion Constructor (Rectangle, 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)
Syntaxpublic OcrImageRegion(
Rectangle bounds,
AtalaImage parentImage
)
Public Sub New (
bounds As Rectangle,
parentImage As AtalaImage
)
Parameters
- bounds
- Type: System.DrawingRectangle
The bounding Rectangle of the page element in pixels 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.
RemarksThis 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