MsoParagraphAlignment Enum

Definition

Specifies paragraph alignment for a text block.

public enum class MsoParagraphAlignment
public enum MsoParagraphAlignment
type MsoParagraphAlignment = 
Public Enum MsoParagraphAlignment
Inheritance
MsoParagraphAlignment

Fields

Name Value Description
msoAlignMixed -2

Use a combination of alignment styles.

msoAlignLeft 1

Specifies that the leftmost character of each line is aligned to the left margin, and the right edge of each line is ragged. This is the default alignment for paragraphs with left-to-right text direction.

msoAlignCenter 2

Specifies that the center of each line of text is aligned to the midpoint of the right and left text box margins, and the left and right edges of each line are ragged.

msoAlignRight 3

Specifies that the rightmost character of each line is aligned to the right margin, and the left edge of each line is ragged. This is the default alignment for paragraphs with right-to-left text direction.

msoAlignJustify 4

Specifies that the first and last characters of each line (except the last) are aligned to the left and right margins, and lines are filled by adding or subtracting space between and within words. The last line of the paragraph is aligned to the left margin if text direction is left-to-right, or to the right margin if text direction is right-to-left.

msoAlignDistribute 5

Specifies that the first and last characters of each line (except the last) are aligned to the left and right margins, and lines are filled by adding or subtracting the same amount from each character. The last line of the paragraph is aligned to the left margin if text direction is left-to-right, or to the right margin if text direction is right-to-left.

msoAlignThaiDistribute 6

Specifies that the first and last characters of each line (except the last) are aligned to the left and right margins, and lines are filled by adding or subtracting space between (but not within) words. The last line of the paragraph is aligned to the left margin.

msoAlignJustifyLow 7

Specifies the alignment or adjustment of kashida length in Arabic text. Kashida are special characters used to extend the joiner between two Arabic characters.

Applies to