| KiXforms Class Library |
TextAlign Property |
Gets or sets the alignment of text on the object.
object.TextAlign [ = Long ]
object.TextAlign = "String"
One of the following values.
| Long | String | Description |
|---|---|---|
| 1 | TopLeft | Text is vertically aligned at the top, and horizontally aligned on the left. |
| 2 | TopCenter | Text is vertically aligned at the top, and horizontally aligned at the center. |
| 4 | TopRight | Text is vertically aligned at the top, and horizontally aligned on the right. |
| 16 | MiddleLeft | Text is vertically aligned in the middle, and horizontally aligned on the left. |
| 32 | MiddleCenter | Text is vertically aligned in the middle, and horizontally aligned at the center. |
| 64 | MiddleRight | Text is vertically aligned in the middle, and horizontally aligned on the right. |
| 256 | BottomLeft | Text is vertically aligned at the bottom, and horizontally aligned on the left. |
| 512 | BottomCenter | Text is vertically aligned at the bottom, and horizontally aligned at the center. |
| 1024 | BottomRight | Text is vertically aligned at the bottom, and horizontally aligned on the right. |
Applies To: Label
| The CHM file was converted to HTML by chm2web software. |