Search
Diagram.TextFormat Property
See Also
 





Gets or sets the default alignment and formatting style for text displayed inside nodes and table cells.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public StringFormat TextFormat { get; set; }

Visual Basic  Copy Code

Public Property TextFormat As StringFormat

 Property Value

An instance of the .NET StringFormat class. The default value for both Alignment and LineAlignment properties is StringAlignment.Center.

 Remarks

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.

 See Also