# Pages

Parameter `Pages` sets the 0-based page indexes of a file (.tiff or .pdf) for barcode searching.

## JSON Structure

**Location in template:**
```
ImageSourceOptions
    └── Pages
```

**Parent object:** [ImageSource](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/image-source.md) object

**Example:**

```json
{
    "Pages": [0,3,5,7,10]
}
```

> [!NOTE]
> - This snippet shows only the `Pages` parameter.
> - To use it, embed this parameter within a [ImageSource](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/image-source.md) object.
> - For the complete JSON structure, see:
>   - [Full JSON Structure](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md#full-json-structure)
>   - [Minimal Valid JSON](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md#minimal-valid-json-example)

## Parameter Details

| Pages Parameter Details |
| :--------------------- |
| **Description**<br>Sets the 0-based page indexes of a file (.tiff or .pdf) for barcode searching. |
| **Type**<br>*int array* |
| **Value range**<br>Each array item represents a specified 0-based page index. |
