setBold

Specify bold text

Syntax

setBold(text, mode)

Description

setBold(text, mode) specifies whether text should be formatted in bold font.

Input Arguments

textInstantiation of the ModelAdvisor.Text class
mode

A Boolean value indicating bold formatting of text:

  • true — Format the text in bold font.

  • false — Do not format the text in bold font.

Examples

t1 = ModelAdvisor.Text('This is some text');
setBold(t1, 'true');