.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ParagraphAlignment Enum

Specifies text alignment within a paragraph.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

[ComVisible(true)]
public enum ParagraphAlignment
<ComVisible(True)>
Public Enum ParagraphAlignment
[ComVisible(true)]
public enum ParagraphAlignment
<ComVisible(True)>
Public Enum ParagraphAlignment
[ComVisible(true)]
public enum ParagraphAlignment
<ComVisible(True)>
Public Enum ParagraphAlignment

Members

Name Description
Center

Text is aligned to the center of the paragraph.

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.

Justify

Text is justified to the entire width of the paragraph.

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.

JustifyLow

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

JustifyMedium

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

Left

Text is aligned to the left of the paragraph.

Right

Text is aligned to the right of the paragraph.

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.

Remarks

Values listed by this enumeration are used to set the Paragraph.Alignment and ParagraphPropertiesBase.Alignment properties.

See Also