UserPatternsTrainingFlags

The UPTF_ prefixed flags are used to denote characteristics of a character for which pattern training is performed. The IEngine::TrainUserPattern method receives as a parameter a bitwise OR combination of zero or more of these flags values, where each set bit indicates that the character has corresponding characteristic.

module UserPatternsTrainingFlags
{
 const int UPTF_UnusualScript = 0x00000001;
 const int UPTF_Bold          = 0x00000002;
 const int UPTF_Italic        = 0x00000004;
 const int UPTF_Subscript     = 0x00000008;
 const int UPTF_Superscript   = 0x00000010;
};
    

Elements

Flag name Description
UPTF_Bold The character has bold font style.
UPTF_Italic The character has italic font style.
UPTF_Subscript The character is subscript.
UPTF_Superscript The character is superscript.
UPTF_UnusualScript The character has unusual script.

Used in

IEngine::TrainUserPattern

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.