Click or drag to resize

BasicOcrFactoryOcrImageRegion Method (PolygonF, AtalaImage)

Constructs a new OcrImageRegion using the supplied image and bounds.
Constructs a new OcrImageRegion object.

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 virtual OcrImageRegion OcrImageRegion(
	PolygonF bounds,
	AtalaImage image
)

Parameters

bounds
Type: Atalasoft.Utils.GeometryPolygonF
The bounding rectangle of the object on the page in pixels.
image
Type: Atalasoft.ImagingAtalaImage
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

IOcrFactoryOcrImageRegion(PolygonF, AtalaImage)
Remarks
This method will create a new image by cropping the given image to the supplied bounding rectangle.
See Also