Report_SetFont()

Examples


The Report_SetFont() function specifies the characteristics of the font to use for the Quick Report.

Syntax

Report_SetFont(font, font_size, font_style)

Parameters

font – An integer specifying the font to use for the text. The value corresponds to one of the following constants:

[spacer]

Constant

Description

FONT_COURIER

Courier font

FONT_HELVETICA

Helvetica font

FONT_TIMES

Times font


font_size – An integer specifying the size of the font, measured in points.

font_style – An integer specifying the style to use for the font. The values correspond to the following constants:

[spacer]

Constant

Description

FONT_STYLE_PLAIN

Plain text

FONT_STYLE_BOLD

Boldface text

FONT_STYLE_UNDERLINE

Underlined text

FONT_STYLE_ITALIC

Italicized text


You can add these constants together to apply multiple style characteristics. For example, FONT_STYLE_BOLD+FONT_STYLE_UNDERLINE causes the text to be boldfaced and underlined.

Return value

The boolean value true.


Documentation Feedback