Table of Contents

Enum TextAlignment

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll

Specifies the alignment of paragraph text along the reading direction axis, relative to the leading and trailing edge of the layout box.

public enum TextAlignment

Fields

Center = 2

The center of the paragraph text is aligned to the center of the layout box.

Justified = 3

Align text to the leading side, and also justify text to fill the lines.

Leading = 0

The leading edge of the paragraph text is aligned to the leading edge of the layout box.

Trailing = 1

The trailing edge of the paragraph text is aligned to the trailing edge of the layout box.