PSSetFontSize()

Syntax

Function PSSetFontSize(nFontSize)
TPageScript:SetFontSize(nFontSize)

Returns

The old font size.

Description

Use PSSetFontSize() to set the default font size to be used by future calls to any PS function that uses a font, like PSTextOut(), when no font size is specified (APS_DEFAULT is passed).

Arguments

nFontSize A numeric value representing the size of the font expressed in points (one point = 1/72 of an inch).