Skip to main content
A newer version of this page is available. .

ReadOnlyParagraphPropertiesBase.Alignment Property

Gets the text alignment within the current paragraph.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v18.2.Core.dll

Declaration

ParagraphAlignment Alignment { get; }

Property Value

Type Description
ParagraphAlignment

One of the ParagraphAlignment enumeration values indicating the text alignment.

Available values:

Name Description
Left

Text is aligned to the left of the paragraph.

Right

Text is aligned to the right of the paragraph.

Center

Text is aligned to the center of the paragraph.

Justify

Text is justified to the entire width of the paragraph.

See Also