HorizontalAlignmentType
Overview
HorizontalAlignmentType is a enum in Aspose.Cells FOSS for Java.
Represents the type of horizontal alignment for cell content.
This enumeration defines 8 values: GENERAL, LEFT, CENTER, RIGHT, FILL, JUSTIFY, CENTER_CONTINUOUS, DISTRIBUTED.
Values
| Value | Description |
|---|---|
GENERAL | Represents the default alignment where Excel decides based on content |
LEFT | Represents left horizontal alignment of cell content |
CENTER | |
RIGHT | |
FILL | Represents fill alignment where content repeats to fill the cell |
JUSTIFY | Represents justified alignment spreading text across the cell width |
CENTER_CONTINUOUS | |
DISTRIBUTED | Represents distributed alignment with equal spacing between characters |