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

# Predefined constants

> Predefined constants in the FlexiLayout language: values for BarcodeTypes, DateFormats, ImageObjectType, Direction, TextTypes, and other built-in types.

The FlexiLayout language provides the following predefined constants.

## Constant types and values

Each row lists a built-in type and the constant values it defines.

| Type                        | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Alignment`                 | `Alignment_None`, `Alignment_Left`, `Alignment_Right`, `Alignment_Justified`, `Alignment_Center`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `BarcodeOrientations`       | `BarcodeOrientation_Autodetect`, `BarcodeOrientation_LefttoRight`, `BarcodeOrientation_Downtotop`, `BarcodeOrientation_RighttoLeft`, `BarcodeOrientation_toptoDown`                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `BarcodeTypes`              | `BarcodeType_Autodetect`, `BarcodeType_Codabar`, `BarcodeType_Code39`, `BarcodeType_Code93`, `BarcodeType_CheckCode39`, `BarcodeType_Code39WithoutAsterisk`, `BarcodeType_Interleaved25`, `BarcodeType_CheckInterleaved25`, `BarcodeType_EAN13`, `BarcodeType_Code128`, `BarcodeType_EAN8`, `BarcodeType_PDF417`, `BarcodeType_IATA25`, `BarcodeType_UCC128`, `BarcodeType_UPCA`, `BarcodeType_UPCE`, `BarcodeType_CheckCodabar`, `BarcodeType_Industrial25`, `BarcodeType_Matrix25`, `BarcodeType_Postnet`, `BarcodeType_Patch`, `BarcodeType_Aztec`, `BarcodeType_DataMatrix`, `BarcodeType_QRCode` |
| `CurrencyPositionTypes`     | `CurrencyPos_Left`, `CurrencyPos_Right`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `DateFormats`               | `DayMonthYear`, `DayYearMonth`, `MonthDayYear`, `MonthYearDay`, `YearDayMonth`, `YearMonthDay`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `DayFormatVariants`         | `NoLeadingZeroDay`, `WithLeadingZeroDay`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `Direction`                 | `Vertical`, `Horizontal`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `ImageObjectType`           | A sum of elementary object-type values. See [ImageObjectType elementary values](#imageobjecttypedefinition).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `Logic`                     | `true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `MonthFormatVariants`       | `DigitsNoLeadingZeroMonth`, `DigitsWithLeadingZeroMonth`, `WordMonth`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `PageEdge`                  | `PageTop`, `PageBottom`, `PageLeft`, `PageRight`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Quality`                   | `BestQuality`, `WorstQuality`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `RecognitionMode`           | `BalancedMode`, `FastMode`, `FullModelMode`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `SearchAreaPageRestriction` | `WholePage` (used only in the `RestrictSearchArea` function)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `SearchAreaPageSetType`     | `AnyPage`, `OddPages`, `EvenPages`, `LastPage` (used only in the `RestrictSearchArea` function)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `String`                    | `RegionalDecimalPoint` – the character used by the operating system to separate the integer and fractional parts of a decimal number.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `TableColumnType`           | `ColumnType_Text`, `ColumnType_Currency`, `ColumnType_Date`, `ColumnType_RegExp`, `ColumnType_Number`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `TextAlignmentInTableCell`  | `TextAlignment_CellTop`, `TextAlignment_CellBottom`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `TextTypes`                 | `TextType_Normal`, `TextType_TypeWriter`, `TextType_Matrix`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `YearFormatVariants`        | `TwoDigitYear`, `FourDigitYear`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `TextRotations`             | `HorizontalText`, `ClockwiseText`, `CounterClockwiseText`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |

<h2 id="imageobjecttypedefinition">
  ImageObjectType elementary values
</h2>

A value of type `ImageObjectType` is the sum of any number of the following elementary values. Each elementary value corresponds to objects of a particular type.

| Value                 | Object type          |
| --------------------- | -------------------- |
| `AnyText`             | Text                 |
| `PunctuationMark`     | Punctuation marks    |
| `PictureObject`       | Picture              |
| `InvertedTextObject`  | Inverted text        |
| `CheckmarkObject`     | Checkmark            |
| `SeparatorObject`     | Separator            |
| `VertSeparatorObject` | Vertical separator   |
| `HorSeparatorObject`  | Horizontal separator |
| `BarcodeObject`       | Barcode              |
