[]
        
(Showing Draft Content)

C1.Util.FontSubSet.GetAlternativeFont

GetAlternativeFont Method

GetAlternativeFont(string, IEnumerable<FontSubSet>)

Search best alternative for text in font subset array.

Declaration
public FontSubSet GetAlternativeFont(string text, IEnumerable<FontSubSet> substitutions)
Parameters
Type Name Description
string text

The text for substitution.

IEnumerable<FontSubSet> substitutions

The font subset list.

Returns
Type Description
FontSubSet

The index of best alternative font (font subset).