Gets or sets the font of the 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 |
An instance of the Font class. 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 |
---|
<Edit Font="Arial, 8pt, style=Bold" /> |