enum EHorizontalAlignment

Describes the possible horizobntal alignment of an cell in Excel.


Properties

General = 0


Left = 1

The cell content is horizontally aligned on the left.


Center = 2

The cell content is centered horizontally.


Right = 3

The cell content is horizontally aligned on the right.


Fill = 4

Repeats the cell content across the whole width of the cell.


Justify = 5

The text is wrapped to fully fit into the cell width and each line of text (except the last line) is horizontally justified to the right and left of the cell.


CenterContinuous = 6

The cell content is centered horizontally across multiple cells. The CenterContinuous property has no effect on the visual appearance of an element when the document is loaded in the SpreadsheetControl. However, the property can be accessed in code, exported in supported formats and visualized in Microsoft Excel.


Distributed = 7

The text is wrapped to fit into the cell width and each line of text is horizontally distributed across the full width of the cell. This alignment type allows applying an indent to both the left and right sides of the cell.