Horizontal alignment styles used for
CellStyle.HorizontalAlignment.
Namespace: GemBox.SpreadsheetAssembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 35.0.30.1025
Syntax
| C# |
|---|
public enum HorizontalAlignmentStyle |
| Visual Basic |
|---|
Public Enumeration HorizontalAlignmentStyle |
Members
| Member name | Value | Description | |
|---|---|---|---|
| General | 0 | Aligns data depending on the data type (text, number, etc.). Consult Microsoft Excel documentation. | |
| Left | 1 | Left alignment. | |
| Center | 2 | Center alignment. | |
| Right | 3 | Right alignment. | |
| Fill | 4 | Fill alignment repeats cell data to fill the whole cell. | |
| Justify | 5 | Justify alignment. | |
| CenterAcross | 6 | Centered across selection. Multiple cells can be selected but only one should have value for this alignment to have effect. | |
| Distributed | 7 | Distributed alignment. |