PSGetFontStyle() |
|
Syntax
Function PSGetFontStyle()
TPageScript:GetFontStyle()
Returns
An Integer value.
Description
PSGetFontStyle() returns an Integer value representing the default font style used by PageScript 32 when calling PSTextOut() or PSTextBox() without specifying a font style.
Valid font styles are :
Constant | Value | Description |
APS_PLAIN | 0 | Plain |
APS_BOLD | 1 | Bold |
APS_ITALIC | 2 | Italic |
APS_UNDERLINE | 4 | UnderLine |
APS_STRIKEOUT | 8 | StrikeOut |
If you call this function when not printing, the default value is returned.
Arguments
None