Specifies how to align cell content horizontally within a cell.
Namespace:
C1.Silverlight.ExcelAssembly: C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)
Syntax
| C# |
|---|
public enum XLAlignHorzEnum |
| Visual Basic |
|---|
Public Enumeration XLAlignHorzEnum |
Members
| Member name | Value | Description | |
|---|---|---|---|
| Undefined | -1 | Not specified (use default). | |
| General | 0 | Align strings to the left, numbers to the right. | |
| Left | 1 | Align to cell left. | |
| Center | 2 | Align to cell center. | |
| Right | 3 | Align to cell right. | |
| Fill | 4 | Fill cell, repeating content as necessary. | |
| Justify | 5 | Justify content horizontally to span the whole cell width. | |
| Selection | 6 | Align to selection center (may span multiple cells). |