setIsBold(value: Boolean);
value. Value to be set. If the parameter is set to True, bold font style is set for title text.
The setIsBold method sets bold style for title text.
To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). To show the title, click the Title button on the Home tab. Set bold font style for title text:
// Get title var title = expressBox.getDataView().getTitleView(); // Set bold font style for title text title.setIsBold(True);
As a result bold font style is set for title text:
See also: