Click or drag to resize

OcrImageRegion Constructor (PolygonF, 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(
	PolygonF bounds,
	AtalaImage parentImage
)

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