ChartDirector Ver 3.1 (PHP Edition Edition)

DrawArea.setDefaultFonts


Usage

setDefaultFonts(normal[, bold[, italic[, boldItalic ]]])

Description

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

The default normal, bold, italic and bold-italic fonts are the same as the first four fonts in the font table (see DrawArea.setFontTable).

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