Specifies how text in a is
horizontally aligned.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public enum TextAlign
Public Enumeration TextAlign
public enum class TextAlign
type TextAlign
Members
| Member | Value | Description |
|---|---|---|
| Left | 1 |
The text is aligned to the left.
|
| Right | 2 |
The text is aligned to the right.
|
| Center | 3 |
The text is aligned in the center.
|
| Justify | 4 |
The text is justified.
|