Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.31 KB

File metadata and controls

48 lines (36 loc) · 1.31 KB

SetTextVerticalAlign

Description

Procedure SetTextVerticalAlign sets the vertical alignment of the referenced text object.

Text Locus

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

Parameters

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

Remarks

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.

See Also

VS Functions:

Version

Availability: from VectorWorks 8.0

Category