Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ParagraphAlignment Enum

Specifies a paragraph alignment.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

[ComVisible(true)]
public enum ParagraphAlignment

#Members

Name Description Example
Left

Text is aligned to the left of the paragraph.

alignment-left

Right

Text is aligned to the right of the paragraph.

alignment-right

Center

Text is aligned to the center of the paragraph.

alignment-center

Justify

Text is justified to the entire width of the paragraph.

alignment-justify

JustifyLow

If the language is Arabic, the paragraph uses small length Kashida. In other languages, text is justified with short inter-word spacing.

alignment-justify-low

JustifyMedium

If the language is Arabic, the paragraph uses medium-length Kashida. In other languages, text is justified with wider inter-word spacing.

alignment-justify-medium

JustifyHigh

If the text is Arabic, the paragraph uses the kashida with the widest length. For other languages, paragraph text is justified with the widest inter-word spacing.

alignment-justify-high

Distribute

The text is evenly distributed between right and left margins. If the last line is short, extra space is added between the characters so the line matches the paragraph’s width.

alignment-distribute

ThaiDistribute

Text is aligned between right and left margins by adding an extra space between each two characters. Affects languages with tone marks and vowel marks.

alignment-justify

#Related API Members

The following properties accept/return ParagraphAlignment values:

See Also