# HorizontalAlignment Enum

> Specifies horizontal alignment (quadding) for text layout.

- Product: Adobe PDF Library 21
- Language: Modern C++
- Version: 21.4.0
- HTML page: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/HorizontalAlignment
- Version index: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/llms.txt

**Namespace:** `datalogics_interface`

## Description

Specifies horizontal alignment (quadding) for text layout.

## Values

- `Left = 0`: Text is aligned to the left edge.
- `Center = 1`: Text is centered horizontally.
- `Right = 2`: Text is aligned to the right edge.
