Gets or sets the font of the displayed text.
Namespace: MindFusion.Diagramming.Components
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public Font Font { get; set; } |
Visual Basic Copy Code |
---|
Public Property Font As Font |
A Font object. The default is Arial, 10.
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" /> |