Specifies that text in an InkEdit control should be recognized.
InkEdit controls
inkeditname.RecognizeText ( )
Argument |
Description |
---|---|
inkeditname |
The name of the InkEdit control in which you want to recognize text. |
Integer. Returns 1 if text is recognized and 0 otherwise.
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.
This code in the clicked event of a “Done” button causes the recognition engine to recognize the strokes entered by the user as text:
boolean lb_success lb_success = ie_1.RecognizeText()