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

# Coordinates and units of measurement

> Coordinate systems and units of measurement in the FlexiLayout language: global and local coordinates plus dot, inch, point, mm, and cm distance units.

The FlexiLayout language uses coordinate systems and units of measurement to specify the positions of objects on a page and the distances between them.

## Coordinate systems

Two dimensions – vertical and horizontal – are used to describe positions of objects on the page and distances between them. The (0,0) reference point is located in the top left-hand corner of the image. X-coordinates increase left to right, Y-coordinates increase top to bottom.

In a [multi-page sheet](/flexi-capture/fls/glossary/glossary-main-body#multipage) there are two coordinate systems: a global coordinate system and a local one. The former covers the entire multi-page sheet and all the objects on it and uses the top left corner of the first page as the origin of coordinates. The latter covers only one page and its objects and uses the top left corner of each page as the origin of coordinates.

## Units of measurement

The FlexiLayout language supports the following units of measurement for coordinates and distances.

| Unit of measurement | Description                  |
| ------------------- | ---------------------------- |
| `dot` (`dt`)        | 1/300 of an inch             |
| `inch` (`in`)       | Inch                         |
| `pt`                | Paper point, 1/72 of an inch |
| `mm`                | Millimeter                   |
| `cm`                | Centimeter                   |

## Distance constant formats

Constants for distances can be represented using one of two formats.

| Format                                                                                                                                                        | Example                      |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
| A numerical value immediately followed by a unit of measurement                                                                                               | `5cm`, `200dot`, `4in`       |
| A numerical value followed by the multiplication operator followed by a unit of measurement. You can insert spaces between any members of the representation. | `5*mm`, `17 *dt`, `3 * inch` |
