Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 1.36 KB

File metadata and controls

59 lines (47 loc) · 1.36 KB

SetTextVerticalAlign

Description

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

Parameters

Name Type Description
TextHd HANDLE Handle to text object.
verticalAlignment INTEGER Vertical alignment setting for text.

Remarks

([[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.

See Also

VS Functions:

Version

Availability: from VectorWorks 8.0

Category

  • Objects - Text