Table of Contents

Enum ExcelHorizontalAlignment

Namespace
OfficeOpenXml.Style
Assembly
EPPlus.dll

Horizontal text alignment

public enum ExcelHorizontalAlignment

Fields

Center = 2

Center aligned

CenterContinuous = 3

The horizontal alignment is centered across multiple cells

Distributed = 6

Each word in each line of text inside the cell is evenly distributed across the width of the cell

Fill = 5

The value of the cell should be filled across the entire width of the cell.

General = 0

General aligned

Justify = 7

The horizontal alignment is justified to the Left and Right for each row.

Left = 1

Left aligned

Right = 4

Right aligned