GxTitle.Size

Syntax

Size: Object

Description

The Size property determines express report title size.

Comments

Use the setSize method to set the property value, and the getSize 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. Set new title size:

// Get title
var title = expressBox.getDataView().getTitleView();
// Set new title size
title.setSize({
    Height: 40,
    Width: 100
});
// Refresh title contents
title.updateContent();

As a result the title has new size:

See also:

GxTitle