ChartDirector 5.1 (PHP Edition)

TextBox.setFontSize


Usage

setFontSize(fontHeight [, fontWidth ])

Description

Sets the font height and width in points.

See Font Specification for details on various font attributes.

Arguments

ArgumentDefaultDescription
fontHeight(Mandatory)The font height in points.
fontWidth0The font width in points. If the font width is zero, it is assumed to be the same as the font height.

Return Value

None