Factoid property for PowerScript controls
Controls
InkEdit controls
Description
Specifies a context for ink recognition in an InkEdit control.
Set this property if the input data is of a known datatype, such
as a date, to constrain the search for a recognition result. Possible
values include digit, email, Web, date, time, number, currency,
percent, and telephone.
Usage
In a painter
To specify a factoid for an InkEdit control:
-
Select a factoid from the drop-down list.
The following values are available. After the Default and
None factoids, the drop-down list displays factoids for special
formats in alphabetical order, followed by single character factoids
and Asian language factoids.
Factoid |
Description |
---|---|
Default |
Returns recognizer to the default setting. |
None |
Disables all factoids, dictionaries, |
Currency |
Currency in pounds, dollars, euros, and |
Date |
Dates written in English; for example |
|
Email addresses. |
Filename |
Windows file name paths. The name cannot |
Number |
Numeric values, including ordinals, decimals, |
Percent |
A number followed by the percent symbol. |
Postal Code |
Postal codes as written in English, for |
System Dictionary |
Words in the system dictionary only. |
Telephone |
Telephone numbers as written in English, |
Time |
Times as written in English, for example |
Web |
Various URL formats. |
Word List |
Words on the word list associated with |
Digit |
A single digit (0-9). |
One Char |
A single ANSI character. |
Upper Char |
A single uppercase character. |
In addition, the following Asian language factoids are available:
Bopomofo |
Kanji Common |
Hangul Common |
Katakana |
Hiragana |
Korean Common |
Jamo |
Simplified Chinese Common |
Japanese Common |
Traditional Chinese Common |
In scripts
The Factoid property takes a string value.
This example sets the Factoid property to Telephone for the
control ie_1:
1 |
ie_1.Factoid = Telephone |