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

# SourcePage

> SourcePage class providing access to a source page's identifier, dimensions, source file, fields, and rule errors in a Splitter Script activity.

Provides access to source pages of documents.

## Properties

| Name          | Type          | Access Level | Description                                                        |
| :------------ | :------------ | :----------- | :----------------------------------------------------------------- |
| `Id`          | `string`      | Read-only    | The page identifier.                                               |
| `ImageHeight` | `uint`        | Read-only    | The height of the page image in pixels.                            |
| `ImageWidth`  | `uint`        | Read-only    | The width of the page image in pixels.                             |
| `Index`       | `int`         | Read-only    | The index of the page in the document. The indexing starts with 0. |
| `SourceFile`  | `SourceFile`  | Read-only    | The source file.                                                   |
| `RuleErrors`  | `RuleError[]` | Read-only    | The list of rule errors detected on the page.                      |

## Methods

| Name                                         | Description                                                                                                                     |
| :------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------ |
| `Field GetField(string fieldDefinitionId);`  | Gets the field by its identifier in the document definition.                                                                    |
| `Field GetFields(string fieldDefinitionId);` | Returns a list of fields by a field identifier in the document definition. This method gets all instances of a repeating field. |
