Table of Contents

Enum XlsxHorizontalAlignment

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

Horizontal alignment of a cell's content.

public enum XlsxHorizontalAlignment

Fields

General = 0

Excel's own rule: text left, numbers and dates right.

Left = 1

Left.

Center = 2

Centred.

Right = 3

Right.

Fill = 4

The content repeated across the cell's width (fill).

Justify = 5

Wrapped, with every line but the last spread to both edges (justify).

CenterAcrossSelection = 6

Centred across this cell and the empty cells after it that carry the same alignment (centerContinuous, Excel's "Center Across Selection").

Distributed = 7

Wrapped, with every line spread to both edges (distributed).