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

# PageRoleEnum

**PageRoleEnum** の列挙定数は、セクション内でのページの役割を定義するために使用します。

```cpp theme={null}
typedef enum {
 PR_AnyPage,
 PT_FirstPage
} PageRoleEnum;
```

## 要素

| **名前** | **説明** |
| - | - |
| PR\_AnyPage | セクション内の任意のページが対象になります。 |
| PR\_FirstPage | セクションの最初のページのみが対象になります。 |

## サンプル

このオブジェクトは、次のコード サンプルで使用されています：[分類](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/samples.md#classification)

## 使用箇所

[**ILinksToSections::AddNew**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/linkstosections-addnew.md)

[**ILinkToSection::PageRole**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/linktosection.md)
