Gets or sets the default alignment and formatting style for text displayed inside nodes and table cells.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public StringFormat TextFormat { get; set; } |
Visual Basic Copy Code |
---|
Public Property TextFormat As StringFormat |
An instance of the .NET StringFormat class. The default value for both Alignment and LineAlignment properties is StringAlignment.Center.
When a new node is created, its TextFormat is initialized with the value of this property. The same applies for the TextFormat of the cells of a new table.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |