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

# Page Element

> The page element in Vantage OCR XML output describes a recognized page: a sequence of block tags with coordinates relative to original or preprocessed image.

Recognized page. It is a sequence of **block** tags.

<Info>
  If the document is exported to XML but not to any of the image formats, the coordinates will be specified relative to the original image. If the document is exported to XML and at the same time to one of the image formats, the coordinates will be specified relative to the preprocessed image that is exported.
</Info>

The tag can have the following attributes:

| Property         | Data type | Description                                                                                                                                                                          |
| :--------------- | :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `width` \*       | `integer` | The image width in pixels.                                                                                                                                                           |
| `height` \*      | `integer` | The image height in pixels.                                                                                                                                                          |
| `resolution` \*  | `integer` | The image resolution in pixels per inch.                                                                                                                                             |
| `originalCoords` | `boolean` | If the value is `true`, the coordinates are specified relative to the original image. If the value is `false`, the coordinates are specified relative to the preprocessed image.     |
| `rotation`       | `string`  | The type of rotation applied to the original page image. Possible values: `Normal`, `RotatedClockwise`, `RotatedUpsidedown`, `RotatedCounterclockwise`. The default value is Normal. |

## Block Element

A recognized block. Each such tag includes the **region** element, which specifies the region of the block on an image.

The following element includes the **region** element.

Has the following attribute:

| Property       | Data type | Description                                                                                                                                                                                                                                                                                                                                                                                                                              |
| :------------- | :-------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `blockType` \* | `string`  | Denotes the block type: Text, Table, Picture, Barcode, Separator, SeparatorsBox. The value of this attribute defines which elements the tag includes: **text** (available only if the blockType attribute is Text), **row** (available only if the blockType attribute is Table), **separatorsBox** (available only if the blockType attribute is SeparatorsBox), **separator** (available only if the blockType attribute is Separator) |

### Region Element

A block region consisting of a set of rectangles. Includes one or several **rect** elements.

### Rect Element

A rectangle of a block region. The tag has the following attributes:

| Property | Data type | Description                                           |
| :------- | :-------- | :---------------------------------------------------- |
| `l` \*   | `integer` | The coordinate of the left border of the rectangle.   |
| `t` \*   | `integer` | The coordinate of the top border of the rectangle.    |
| `r` \*   | `integer` | The coordinate of the right border of the rectangle.  |
| `b` \*   | `integer` | The coordinate of the bottom border of the rectangle. |

\* Indicates a required property.
