ChartDirector Ver 3.0 (C++ Edition)

TextBox.setFontStyle


Usage

void setFontStyle(const char *font, int fontIndex = 0);

Description

Set 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 path name of the font file that contains the font.
fontIndex0The font index of the font to use for font files that contains more than one font. An index of 0 means the first font.

Return Value

None