Table of Contents

TTMSFNCWXOCRHelperRectangle Class

Describes a single selection region within a template as a set of edge coordinates together with the scaling factor at which the region was captured. Template rectangles are serialized so a set of selections can be reused across images.

API unit family: TMSFNCWXOCRHelper Inherits from: TPersistent

Syntax

TTMSFNCWXOCRHelperRectangle = class(TPersistent)

Properties

Name Description
Bottom The bottom edge of the region, in image coordinates.
DPIScale The display scaling factor at which the region was captured. Used to reconstruct the region in image coordinates when the template is applied.
Left The left edge of the region, in image coordinates.
Right The right edge of the region, in image coordinates.
Top The top edge of the region, in image coordinates.