Gets or sets a value indicating whether styled text rendering is enabled.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public bool EnableStyledText { get; set; } |
Visual Basic Copy Code |
---|
Public Property EnableStyledText As Boolean |
true to parse the text of table's caption and cells in order to find formatting tags; otherwise false. Initialized with the value of EnableStyledText.
Styled text allows applying various attributes to the characters it contains. Attributes are specified using HTML-like formatting tags embedded in the raw text. Formatting tags are listed and described in the Text Attributes and Formatting section of this help file.
If EnableStyledText is set to true, table's Caption and cells' Text are parsed and analyzed each time they change. Parsing determines what formatting tags are used and adds the corresponding attribute records to WpfDiagram's internal representation of styled text. If the property value is false, the text is not processed in any way and is displayed without formatting.
WpfDiagram Programmer's Guide | © 2024 MindFusion |