Procedure SetTextJust sets the text justification of the referenced text object.
Table - Text Justification
| Justification | Constant |
|---|---|
| Left | 1 |
| Center | 2 |
| Right | 3 |
| Justify | 4 |
PROCEDURE SetTextJust(
TextHd : HANDLE;
JustFlag : INTEGER);def vs.SetTextJust(TextHd, JustFlag):
return None| Name | Type | Description |
|---|---|---|
| TextHd | HANDLE | Handle to text object. |
| JustFlag | INTEGER | Justification setting for text. |
([[User:Orso.b.schmid|Orso]], 2012 Mai. 26): The constant 4 "Justify" is introduced by VW 2011. This routine needs a screen redraw after running. The text object will shift after changing the alignment, use SetTextJustN if the shift is not wished.
VS Functions:
Availability: from MiniCAD 6.0
