FontFallBackRule

FontFallBackRule(uint, uint, string)

Creates new instance.

public FontFallBackRule(uint startIndex, uint endIndex, string fontNames)
ParameterTypeDescription
startIndexUInt32Start index of unicode range
endIndexUInt32End index of unicode range
fontNamesStringFont’s name or names (delimited by comma) for FallBack

Examples

[C#]
// Create new instance of FantFallBackRule with one font.
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, "MS Mincho");

// Create new instance of FantFallBackRule with several fonts.
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, "MS Mincho, MS Gothic, Tahoma");

See Also


FontFallBackRule(uint, uint, string[])

Creates new instance.

public FontFallBackRule(uint startIndex, uint endIndex, string[] fontNames)
ParameterTypeDescription
startIndexUInt32Start index of unicode range
endIndexUInt32End index of unicode range
fontNamesString[]Font’s name or names (delimited by comma) for FallBack

Examples

[C#]
// Create new instance of FantFallBackRule with two fonts
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, new string[] { "MS Mincho", "MS Gothic"});

// Create new instance of FantFallBackRule with several fonts.
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, new string[] { "MS Gothic", "Tahoma, Times New Roman" });

See Also