RecognizeText
PowerScript function
Description
Specifies that text in an InkEdit control should be
recognized.
Applies to
InkEdit controls
Syntax
1 |
inkeditname.RecognizeText ( ) |
Argument |
Description |
---|---|
inkeditname |
The name of the InkEdit control in which you want to |
Return value
Integer. Returns 1 if text is recognized and 0 otherwise.
Usage
By default, ink is recognized automatically when the user pauses
while entering ink and the number of milliseconds specified in the
RecognitionTimer property elapses. To enable a user to pause without
having text recognized, increase the RecognitionTimer interval and code
the RecognizeText function in a button clicked event or another
event.
Examples
This code in the clicked event of a “Done” button causes the
recognition engine to recognize the strokes entered by the user as
text:
1 2 |
boolean lb_success lb_success = ie_1.RecognizeText() |