PSGetJustify() / PSGetFontJustify() |
|
Syntax
Function PSGetJustify() / PSGetFontJustify()
TPageScript:GetJustify() / GetFontJustify()
Returns
An Integer value.
Description
PSGetFontJustify() returns an Integer value representing the default text justification used by PageScript 32 when calling PSTextOut() or PSTextBox() without specifying text justification. The returned value may be any of the following values :
Constant | Value | Description |
APS_LEFT | 0 | Text is left justified |
APS_RIGHT | 1 | Text is right justified |
APS_CENTER | 2 | Text is centered |
APS_DECIMAL | 3 | Text is centered on decimal (numbers with decimal point) according to the current decimal separator. |
If you call this function when not printing, the default value is returned.
Arguments
None