Factoid
property for PowerScript controls
Applies to
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. For |
|
None |
Disables all factoids, dictionaries, and the language |
|
Currency |
Currency in pounds, dollars, euros, and |
|
Date |
Dates written in English; for example 8/19/2005, Aug |
|
|
Email addresses. |
|
Filename |
Windows file name paths. The name cannot include the |
|
Number |
Numeric values, including ordinals, decimals, |
|
Percent |
A number followed by the percent |
|
Postal Code |
Postal codes as written in English, for example 01730 |
|
System Dictionary |
Words in the system dictionary only. |
|
Telephone |
Telephone numbers as written in English, for example |
|
Time |
Times as written in English, for example 15:05 or |
|
Web |
Various URL formats. |
|
Word List |
Words on the word list associated with the recognizer |
|
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 |