New to Telerik Document ProcessingStart a free 30-day trial

Horizontal text alignment options for cell content within a worksheet.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public enum RadHorizontalAlignment

Fields

Centers content horizontally within the cell.

C#
Center = 2

Centers content across multiple selected cells without merging them.

C#
CenterContinuous = 6

Distributes content evenly with equal spacing between characters across the cell width.

C#
Distributed = 7

Repeats cell content to fill the entire cell width.

C#
Fill = 5

Automatic alignment based on cell content type: numbers align right, booleans center, and text aligns left.

C#
General = 0

Justifies multi-line text by distributing words evenly across the cell width.

C#
Justify = 4

Aligns content to the left edge of the cell.

C#
Left = 1

Aligns content to the right edge of the cell.

C#
Right = 3