PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 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 String, _
       ByVal substitutions As IEnumerable(Of FontSubSet) _
    ) As FontSubSet
    public FontSubSet GetAlternativeFont( 
       string text,
       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