Search
TableNode.CaptionPlainText Property
See Also
 





Gets the plain text of the table's caption.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public string CaptionPlainText { get; }

Visual Basic  Copy Code

Public ReadOnly Property CaptionPlainText As String

 Property Value

A string containing the plain text of the caption.

 Remarks

This property removes any formatting tags from Caption and returns the plain human-readable text. That is useful when styled text is enabled and you need to display caption's content outside of MindFusion.Diagramming, that is, in a message box or a dialog box.

 Example

The following sample code demonstrates how CaptionPlainText can be used.

C#  Copy Code

t.EnableStyledText = true;
t.Caption = "<b>interface</b> <i><u>IMouseListener</u></i>";
MessageBox.Show(t.CaptionPlainText);

Visual Basic  Copy Code

t.EnableStyledText = True
t.Caption = "<b>interface</b> <i><u>IMouseListener</u></i>"
MessageBox.Show(t.CaptionPlainText)

 See Also