Gets or sets the text displayed inside the shape node.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public string Text { get; set; } |
Visual Basic Copy Code |
---|
Public Property Text As String |
A string containing the node's text. Initialized with the value of ShapeText.
This property specifies the text that should be drawn inside the shape. The text appearance can be customized through the TextBrush and TextFormat properties.
Styled text allows applying various attributes to the text characters. Attributes are specified by embedding HTML-like formatting tags within the raw text. Styled text is enabled by setting EnableStyledText to true.
You can add more text labels by calling the AddLabel method, and customize their position and appearance via the various members of returned NodeLabel object.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |