TTMSFNCWXOCRHelperAppearance Class
Groups the fill and stroke styling used to render the selection feedback: the rectangle drawn while dragging a new selection, the committed selection outline, and the confidence-based highlighting of recognized words. Word highlights are styled by confidence band so that low, moderate, and reasonable confidence results are visually distinct.
API unit family: TMSFNCWXOCRHelper
Inherits from: TPersistent
Syntax
TTMSFNCWXOCRHelperAppearance = class(TPersistent)
Properties
| Name | Description |
|---|---|
| DragFill | Fill applied to the rubber-band rectangle drawn while the user is dragging out a new selection. |
| DragStroke | Stroke applied to the rubber-band rectangle drawn while the user is dragging out a new selection. |
| LowConfidenceFill | Fill used to highlight recognized words whose confidence falls in the lowest band. |
| LowConfidenceStroke | Stroke used to highlight recognized words whose confidence falls in the lowest band. |
| ModerateConfidenceFill | Fill used to highlight recognized words whose confidence falls in the middle band. |
| ModerateConfidenceStroke | Stroke used to highlight recognized words whose confidence falls in the middle band. |
| ReasonableConfidenceFill | Fill used to highlight recognized words whose confidence falls in the upper band, below the threshold treated as fully reliable. |
| ReasonableConfidenceStroke | Stroke used to highlight recognized words whose confidence falls in the upper band, below the threshold treated as fully reliable. |
| SelectionFill | Fill applied to a committed selection region. |
| SelectionStroke | Stroke applied to a committed selection region and to its index label. |
Events
| Name | Description |
|---|---|
| OnChange | Occurs after any fill or stroke style changes, allowing the owner to repaint. The handler receives the appearance as Sender and does not alter the change itself. |