HorizontalAlignmentType
Overview
HorizontalAlignmentType is a enum in Aspose.Cells for NET.
Description
HorizontalAlignmentType is an enumeration type in the Aspose.Cells FOSS library for .NET. 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
| Value | Description |
|---|---|
General | Default alignment determined by the cell content type |
Left | Content aligned to the left edge of the cell |
Center | Content centered horizontally in the cell |
Right | Content aligned to the right edge of the cell |
Fill | Content repeated to fill the full cell width |
Justify | Content stretched to align with both left and right edges |
CenterContinuous | Content centered across a contiguous group of cells |
Distributed | Content distributed evenly with spacing between characters |