ComponentOne SuperTooltip for WinForms
C1.Win.8 Assembly / 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 System.String, _
       ByVal substitutions As System.Collections.Generic.IEnumerable(Of FontSubSet) _
    ) As FontSubSet
    public FontSubSet GetAlternativeFont( 
       System.string text,
       System.Collections.Generic.IEnumerable<FontSubSet> substitutions
    )

    Parameters

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

    Return Value

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