> ## 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** enumeration constants are used to define the role of the page in the section.

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

## Elements

| **Name** | **Description** |
| - | - |
| PR\_AnyPage | Can be any page of the section. |
| PR\_FirstPage | Can be the first page of the section only. |

## Samples

This object is used in the following code samples: [Classification](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md#classification).

## Used in

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

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