| TextAlignment Enumeration |
How text is aligned in a paragraph or cell.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public enum TextAlignment
Public Enumeration TextAlignment
public enum class TextAlignment
Members
| Member name | Value | Description |
---|
| Left | 0 | Text aligns with the left margin. |
| Center | 1 | Text is centered between the margins. |
| Right | 2 | Text aligns with the right margin. |
| Justify | 3 |
Text starts at the left margin and, if the line extends
beyond the right margin, all the spaces in the line are
adjusted to be even.
|
| Undefined | -9999999 | Text alignment is undefined. |
See Also