RecognizeText

Description

Specifies that text in an InkEdit control should be recognized.

Applies to

InkEdit controls

Syntax

inkeditname.RecognizeText ( )

Argument

Description

inkeditname

The name of the InkEdit control in which you want to recognize text.


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:

boolean lb_success
lb_success = ie_1.RecognizeText()