GxTitle.getUnformattedText

Syntax

getUnformattedText();

Description

The getUnformattedText method returns unformatted 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. Get unformatted title text:

// Get title
var title = expressBox.getDataView().getTitleView();
// Get unformatted title text
console.log(title.getUnformattedText());

As a result the console displays unformatted title text:

<span style="font-family: Arial; font-size: 12pt; color: rgb(0, 0, 0); text-align: center; background-color: rgb(255, 255, 255);"><span style="color: rgb(0, 0, 0); font-weight: bold; font-size: 12pt; font-family: inherit; text-align: center;">&amp;[DIMENSIONS.D_SRC], &amp;[DIMENSIONS.D_SEP], &amp;[DIMENSIONS.FACTS]</span></span>

See also:

GxTitle