Procedure SetTextVerticalAlign sets the vertical alignment of the referenced text object.
[[Image:textlocus.gif| left]]
{| class="wikitable_c" ! Justification !! Constant
| + Table - Text Vertical Justification |
|---|
| Top of text box |
| style="text-align:center" |
| - |
| Top baseline |
| style="text-align:center" |
| - |
| Text centerline |
| style="text-align:center" |
| - |
| Bottom baseline |
| style="text-align:center" |
| - |
| Bottom of text box |
| style="text-align:center" |
| } |
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. |
([[User:Orso.b.schmid|Orso]], 2012 Mai. 27): This routine needs a screen redraw after running. The text object will shift after changing the alignment, use [[VS:SetTextVertAlignN]] if the shift is not wished.
VS Functions:
Availability: from VectorWorks 8.0
- Objects - Text