> ## 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

> ABBYY FineReader Engine API の UserPatternsTrainingFlags — パターン学習が実行される文字の特性を示すビット単位のフラグ。IEngine.TrainUserPattern に渡されます。

UPTF\_ 接頭辞付きのフラグは、パターン学習の対象となる文字の特性を示すために使用されます。[IEngine::TrainUserPattern](/ja/fine-reader/engine/api-reference/engine-object-iengine-interface/supplementary-methods/trainuserpattern-method) メソッドは、これらのフラグ値を 0 個以上ビット単位 OR で組み合わせたものをパラメーターとして受け取ります。各セットビットは、その文字が対応する特性を持つことを示します。

```
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;
};
```

<div id="elements">
  ## 要素
</div>

| フラグ名                | 説明            |
| ------------------- | ------------- |
| UPTF\_Bold          | その文字は太字です。    |
| UPTF\_Italic        | その文字は斜体です。    |
| UPTF\_Subscript     | その文字は下付き文字です。 |
| UPTF\_Superscript   | その文字は上付き文字です。 |
| UPTF\_UnusualScript | その文字は特殊な書体です。 |

<div id="used-in">
  ## 使用箇所
</div>

[IEngine::TrainUserPattern](/ja/fine-reader/engine/api-reference/engine-object-iengine-interface/supplementary-methods/trainuserpattern-method)
