TreeView for WinForms | ComponentOne
C1.Util Namespace / FontSubSet Class / GetAlternativeFont Method
The text for substitution.
The font subset list.

In This Topic
    GetAlternativeFont Method (FontSubSet)
    In This Topic
    Search best alternative for text in font subset array.
    Syntax
    'Declaration
     
    
    Public Function GetAlternativeFont( _
       ByVal text As String, _
       ByVal substitutions As IEnumerable(Of FontSubSet) _
    ) As FontSubSet

    Parameters

    text
    The text for substitution.
    substitutions
    The font subset list.

    Return Value

    The index of best alternative font (font subset).
    See Also