RecognizeText – PB Docs 2017

RecognizeText

PowerScript function

Description

Specifies that text in an InkEdit control should be
recognized.

Applies to

InkEdit controls

Syntax

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:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x