ChartDirector 7.0 (Perl Edition)

TextBox.setFontStyle


Usage

setFontStyle(font [, fontIndex ])

Description

Sets the font of the text by specifying the file that contains the font.

See Font Specification for details on various font attributes.

Arguments

ArgumentDefaultDescription
font(Mandatory)The font name.
fontIndex0The font index in case the font name refers to a font collection. An index of 0 means the first font.

Return Value

None