setFontFamily(value: PP.Font.Family || String);
value. Font name to be set.
The setFontFamily method sets title font name.
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. Change title font:
// Get title var title = expressBox.getDataView().getTitleView(); // Change title font title setFontFamily(PP.Font.Family.Calibri);
As a result, a new font is set for title text:
See also: