Paragraph.Alignment Property
Gets or sets text alignment within a paragraph.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v18.2.Core.dll
Declaration
Property Value
Type | Description |
---|---|
ParagraphAlignment | A ParagraphAlignment enumeration value. |
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. |
Related GitHub Examples
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.