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

# TSelectionType

> TSelectionType enumeration for the ISelection interface: indicates whether a FlexiCapture selection contains documents, pages, or both at once.

Types of selection. Applies in the [ISelection](/flexi-capture/appendix/scripts-shell/iselection) interface.

## Possible values

| Name           | Value | Description                                      |
| -------------- | ----- | ------------------------------------------------ |
| `ST_Undefined` | `0`   | No selection type is specified.                  |
| `ST_Documents` | `1`   | The selection contains documents.                |
| `ST_Pages`     | `2`   | The selection contains pages.                    |
| `ST_Both`      | `3`   | The selection contains both documents and pages. |
