FontFallBackRule

FontFallBackRule constructor (1 of 2)

Creates new instance.

public FontFallBackRule(uint startIndex, uint endIndex, string fontNames)
Parameter Type Description
startIndex UInt32 Start index of unicode range
endIndex UInt32 End index of unicode range
fontNames String Font’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 constructor (2 of 2)

Creates new instance.

public FontFallBackRule(uint startIndex, uint endIndex, string[] fontNames)
Parameter Type Description
startIndex UInt32 Start index of unicode range
endIndex UInt32 End index of unicode range
fontNames String[] 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