Procedure SetTextVerticalAlign sets the vertical alignment of the referenced text object.
Table - Text Vertical Justification
| Justification | Constant |
|---|---|
| Top of text box | 1 |
| Top baseline | 2 |
| Text centerline | 3 |
| Bottom baseline | 4 |
| Bottom of text box | 5 |
PROCEDURE SetTextVerticalAlign(
TextHd : HANDLE;
verticalAlignment : INTEGER);def vs.SetTextVerticalAlign(TextHd, verticalAlignment):
return None| Name | Type | Description |
|---|---|---|
| TextHd | HANDLE | Handle to text object. |
| verticalAlignment | INTEGER | Vertical alignment setting for text. |
This routine needs a screen redraw after running. The text object will shift after changing the alignment, use SetTextVertAlignN if the shift is not wished.
VS Functions:
Availability: from VectorWorks 8.0
