ChartDirector 7.1 (C++ Edition)

TextBox.setFontStyle


Usage

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

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