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 StringFormat class. The default value for both HorizontalAlignment and VerticalAlignment properties is 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.
Diagramming for .NET MAUI Guide | © 2024 MindFusion |