Search
TextComponent.Font Property
See Also
 





Gets or sets the font of the displayed text.

Namespace: MindFusion.Diagramming.Components
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Font Font { get; set; }

Visual Basic  Copy Code

Public Property Font As Font

 Property Value

A Font object. The default is Arial, 10.

 Remarks

To specify the font in XML use standard string representation. For example, to specify Arial, 8pt, Bold font, use the following:

XML  Copy Code

<Text Font="Arial, 8pt, style=Bold" />

 See Also