GxTitle.setIsBold

Syntax

setIsBold(value: Boolean);

Parameters

value. Value to be set. If the parameter is set to True, bold font style is set for title text.

Description

The setIsBold method sets bold style for title text.

Example

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:

GxTitle