Search
ItemLabel.enableStyledText Property
See Also
 





Gets or sets a value indicating whether styled text rendering is enabled.

Namespace: MindFusion.Diagramming
Package: ItemLabel.js

 Syntax

JavaScript  Copy Code

get enableStyledText() {}
set enableStyledText(value) {}

 Property Value

Boolean

true to parse the label's text in order to find formatting tags, or false otherwise.

 Remarks

Styled text recognizes the following format tags:

Tag

Description

<i>text</i>

Indicates italic text.

<b>text</b>

Indicates bold text.

<u>text</u>

Indicates underlined text.

<sub>text</sub>

Indicates subscript.

<sup>text</sup>

Indicates superscript.

<color=#RRGGBB>text</color>

Changes the color of the text. The red, green and blue color channels are specified as two-digit hexadecimal numbers.

<br />

Indicates line break.

<a=url>text</a>

Renders specified text as a hyperlink and raises hyperlinkClicked event when link has been clicked.

<size=N>text</size>

Changes the font size.

 See Also

ItemLabel Members
ItemLabel Class
MindFusion.Diagramming Namespace