PSSetFontStyle() |
|
Syntax
Function PSSetFontStyle(nFontStyle)
TPageScript:SetFontStyle(nFontStyle)
Returns
The old font style.
Description
Use PSSetFontStyle() to set the default font style to be used by future calls to any PS function that uses a font, like PSTextOut(), when no font style is specified (APS_DEFAULT is passed).
Arguments
nFontStyle | An Integer value of any of the following styles. Styles may be added togheter to combine styles. |
Constant | Value | Description |
APS_PLAIN | 0 | Plain |
APS_BOLD | 1 | Bold |
APS_ITALIC | 2 | Italic |
APS_UNDERLINE | 4 | UnderLine |
APS_STRIKEOUT | 8 | StrikeOut |
APS_BOLDITALIC | 3 | Bold + Italic |