Click or drag to resize

OcrImageRegion Constructor (Rectangle, AtalaImage)

Initializes a new instance of the OcrImageRegion class.

Namespace:  Atalasoft.Ocr
Assembly:  Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public OcrImageRegion(
	Rectangle bounds,
	AtalaImage parentImage
)

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.
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