BasicOcrFactory.OcrImageRegion Method (Rectangle, AtalaImage) |
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 OcrImageRegion OcrImageRegion(
Rectangle bounds,
AtalaImage image
)
Public Overridable Function OcrImageRegion (
bounds As Rectangle,
image As AtalaImage
) As OcrImageRegion
Parameters
- bounds
- Type: System.Drawing.Rectangle
The bounding rectangle of the object on the page in pixels. - image
- Type: Atalasoft.Imaging.AtalaImage
The image that defines the entire page.
Return Value
Type:
OcrImageRegion The image that is stored is made creating a new cropped version the supplied image.
Return Value
Type:
OcrImageRegion A new
OcrImageRegion object.
Implements
IOcrFactory.OcrImageRegion(Rectangle, AtalaImage)Remarks This method will create a new image by cropping the given image to the supplied bounding rectangle.
See Also