GxTitle.Font

Syntax

Font: PP.Font

Description

The Font property determines font for express report title.

Comments

Use the setFont method to set the property value, and the getFont method to get the property value.

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. Get title font name:

// Get title
var title = expressBox.getDataView().getTitleView();
// Get title font name
console.log("Title font name: " + title.getFont().getFontFamily());

As a result the console displays title font name:

Title font name: Arial

See also:

GxTitle