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.

Description

HorizontalAlignmentType is an enumeration type in the Aspose.Cells FOSS library for Java. It defines a set of named constants that control behavior or specify options within the API. Enumerations like HorizontalAlignmentType help ensure type safety by restricting values to a predefined set.

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

 English