Procedure SetTextJust sets the text justification of the referenced text object.
[[Image:textlocus.gif| left]]
{| class="wikitable_c" |+ Table - Text Justification
| ! Justification !! Constant |
|---|
| Left |
| style="text-align:center" |
| - |
| Center |
| style="text-align:center" |
| - |
| Right |
| style="text-align:center" |
| - |
| Justify |
| style="text-align:center" |
| } |
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 [[VS:SetTextJustN]] if the shift is not wished.
VS Functions:
Availability: from MiniCAD 6.0
- Objects - Text