Search
ShapeNode.enableStyledText Property
See Also
 





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

Namespace: MindFusion.Diagramming
File: ShapeNode.js

 Syntax

JavaScript  Copy Code

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

 Property Value

Boolean

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

 Remarks

Styled text allows applying various attributes to the characters it contains. Attributes are specified using HTML-like formatting tags embedded in the raw text. At this time the component supports the following formatting tags:

  • <b> specifies bold text
  • <i> specifies italic text
  • <u> specifies underlined text
  • <color=value> specifies text color
  • <sub>specifies subscript
  • <sup>specifies superscript
  • <br /> indicates line break
  • <a=url> renders specified text as a hyperlink and raises hyperlinkClicked event when link has been clicked
  • <size=value>specifies font size

 See Also