Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Paragraph.Alignment Property

Gets or sets text alignment within a paragraph.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

public abstract ParagraphAlignment Alignment { get; set; }

Property Value

Type Description
ParagraphAlignment

A ParagraphAlignment enumeration value.

Remarks

The table below shows the text appearance with different Alignment values:

Alignment Type

Text

Right

alignment-right

Left

alignment-left

Center

alignment-center

Justified

alignment-justify

Right-to-Left Languages

Justified High

alignment-justify-high

Justified Medium

alignment-justify-medium

Justified Low

alignment-justify-low

East-Asian Languages

Distributed

alignment-distribute

Thai Distributed

alignment-justify

The following code snippets (auto-collected from DevExpress Examples) contain references to the Alignment property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also