HorizontalAlignmentType

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

ValueDescription
GENERALRepresents the default alignment where Excel decides based on content
LEFTRepresents left horizontal alignment of cell content
CENTER
RIGHT
FILLRepresents fill alignment where content repeats to fill the cell
JUSTIFYRepresents justified alignment spreading text across the cell width
CENTER_CONTINUOUS
DISTRIBUTEDRepresents distributed alignment with equal spacing between characters

See Also