Syntax
JustifyMode = TextGetJustify(Text)
Description
Retrieves the current horizontal justification setting for the specified text object.
Parameters
Text
The handle of the text object whose justification is to be retrieved.
Return Value
Returns the current horizontal justification mode constant:
#PG_Text_Justify_Leading
#PG_Text_Justify_Trailing
#PG_Text_Justify_Center
#PG_Text_Justify_Justified
Returns #False (0) if the text handle is invalid (note: 0 corresponds to #PG_Text_Justify_Leading, the default).
See Also
CreateText, TextSetJustify, TextGetAlign
Supported OS
Windows, Linux