Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.21 KB

File metadata and controls

56 lines (44 loc) · 1.21 KB

SetTextJust

Description

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

Parameters

Name Type Description
TextHd HANDLE Handle to text object.
JustFlag INTEGER Justification setting for text.

Remarks

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

See Also

VS Functions:

Version

Availability: from MiniCAD 6.0

Category

  • Objects - Text