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
Assembly: 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 StringFormat class. The default value for both HorizontalAlignment and VerticalAlignment properties is 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