Click or drag to resize

OmniPageOcrTextRegion Constructor (Rectangle, OcrTextRotation)

Initializes a new instance of the OmniPageOcrTextRegion class.

Namespace:  Atalasoft.Ocr.OmniPage
Assembly:  Atalasoft.dotImage.Ocr.OmniPage (in Atalasoft.dotImage.Ocr.OmniPage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public OmniPageOcrTextRegion(
	Rectangle bounds,
	OcrTextRotation rotation
)

Parameters

bounds
Type: System.DrawingRectangle
The bounding Rectangle of the page element in pixels relative to the source image.
rotation
Type: Atalasoft.OcrOcrTextRotation
The rotation of the text region with respect to the entire page.
Remarks
For OmniPage OCR engine Clockwise180 text rotation option is equal to None. Both these values are the same horizontal values. Note that if the source page is 180 degrees rotated then it is processed and detected correctly.
See Also