PSSetJustify() |
|
Syntax
Function PSSetJustify(nJustify)
TPageScript:SetJustify(nJustify)
Returns
The old text justification.
Description
Use PSSetJustify() to change the default text justification for future calls to PSTextOut() and the Justify parameter is APS_DEFAULT instead of a valid value.
Arguments
nJustify | An integer with one 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) |