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
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 Western languages, the default setting includes the user and system dictionaries, various punctuation marks, and the Web and Number factoids. For Eastern languages, the default setting includes all characters supported by the recognizer. |
None |
Disables all factoids, dictionaries, and the language model. |
Currency |
Currency in pounds, dollars, euros, and yen. |
Date |
Dates written in English; for example 8/19/2005, Aug 19, 2005, or Friday, August 19, 2005. |
|
Email addresses. |
Filename |
Windows file name paths. The name cannot include the following characters: / : " < > | |
Number |
Numeric values, including ordinals, decimals, separators, common suffixes, and mathematical symbols. This factoid includes the Currency and Time factoids. |
Percent |
A number followed by the percent symbol. |
Postal Code |
Postal codes as written in English, for example 01730 or CT17 9PW. |
System Dictionary |
Words in the system dictionary only. |
Telephone |
Telephone numbers as written in English, for example (555) 555 5555 or +44 1234 123456. |
Time |
Times as written in English, for example 15:05 or 3:05 pm. |
Web |
Various URL formats. |
Word List |
Words on the word list associated with the recognizer context only. |
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:
ie_1.Factoid = Telephone