ChartDirector 7.1 (C++ Edition)

DrawArea.setDefaultFonts


Usage

void setDefaultFonts(const char *normal, const char *bold = 0, const char *italic = 0, const char *boldItalic = 0);

Description

Sets the defaults for normal, bold, italic and bold-italic fonts.

See Font Specification for details on various font attributes.

Arguments

ArgumentDefaultDescription
normal(Mandatory)The default normal font. This is the same as the first font in the font table.
bold""The default bold font. This is the same as the second font in the font table. An empty string means the default is unchanged.
italic""The default italic font. This is the same as the third font in the font table. An empty string means the default is unchanged.
boldItalic""The default bold-italic font. This is the same as the fourth font in the font table. An empty string means the default is unchanged.

Return Value

None