Search
DiagramItemExtensions.Font(T) Method (T, String, Single)
See Also
 





Sets the font used to render the item's text.

Namespace: MindFusion.Diagramming.Fluent
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static T Font<T> (
    T diagramItem,
    string fontName,
    float fontSize
) where T : DiagramItem

Visual Basic  Copy Code

Public Shared Function Font(Of T As DiagramItem) ( _
    diagramItem As T, _
    fontName As String, _
    fontSize As Single _
) As T

 Parameters

diagramItem

fontName

fontSize

 Return Value

 See Also