Developer's reference PB2XLS for PowerBuilder

Reference > N_XLS_FORMAT > of_set_bold

of_set_bold() method

Set the bold property of the font.

Syntax

format.of_set_bold ( Option )

Parameters

OptionA boolean value that controls whether font is bold.

Return value

Integer. Returns 1 if it succeeds and -1 if an error occurs.

Examples

format.of_set_bold ( true )