Search
DiagramItem.Font Property
See Also
 






Gets or sets the font used to render the item's text.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Nullable<Font> Font { get; set; }

Visual Basic  Copy Code

Public Property Font As Nullable(Of Font)

 Property Value

An instance of the Font class. The default value is null.

 Remarks

Items derived from DiagramItem use this font to draw their text. Tables for example render their captions and text in cells using this font. Initially the font is set to the value of Font.

When set to null, the font object used to render the item's text is derived from the item's Style, or from the diagram's current Theme.

 See Also