> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UserPatternsTrainingFlags

The UPTF\_ prefixed flags are used to denote characteristics of a character for which pattern training is performed. The [IEngine::TrainUserPattern](/fine-reader/engine/api-reference/engine-object-iengine-interface/supplementary-methods/trainuserpattern-method) 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](/fine-reader/engine/api-reference/engine-object-iengine-interface/supplementary-methods/trainuserpattern-method)
