Click or drag to resize

HorizontalAlignment Enumeration

Specifies type of the horizontal alignment.

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public enum HorizontalAlignment
Members
Member name Value Description
Left 0 Specifies alignment to the left.
Center 1 Specifies alignment to the center.
Right 2 Specifies alignment to the right.
Justify 3 Specifies alignment to both left and right.
Distribute 4 Specifies that the text shall be justified between both of the text margins in the document.
ThaiDistribute 5 Specifies that the text shall be justified with an optimization for Thai.
HightKashida 6 Specifies that the kashida length for text in the current paragraph shall be extended to its wides possible length.
LowKashida 7 Specifies that the kashida length for text in the current paragraph shall be exended to a slightly longer length. This setting shall also be applied to Arabic text when the both setting is applied.
MediumKashida 8 Specifies that the kashida length for text in the current paragraph shall be extended to a medium length determined by the consumer.
See Also