FontFallBackRule
内容
[
隐藏
]FontFallBackRule(uint, uint, string)
创建新实例。
public FontFallBackRule(uint startIndex, uint endIndex, string fontNames)
范围 | 类型 | 描述 |
---|---|---|
startIndex | UInt32 | unicode 范围的起始索引 |
endIndex | UInt32 | unicode 范围的结束索引 |
fontNames | String | FallBack 的一个或多个字体名称(以逗号分隔) |
例子
[C#]
// 使用一种字体创建新的 FantFallBackRule 实例。
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, "MS Mincho");
// 使用多种字体创建新的 FantFallBackRule 实例。
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, "MS Mincho, MS Gothic, Tahoma");
也可以看看
- class FontFallBackRule
- 命名空间 Aspose.Slides
- 部件 Aspose.Slides
FontFallBackRule(uint, uint, string[])
创建新实例。
public FontFallBackRule(uint startIndex, uint endIndex, string[] fontNames)
范围 | 类型 | 描述 |
---|---|---|
startIndex | UInt32 | unicode 范围的起始索引 |
endIndex | UInt32 | unicode 范围的结束索引 |
fontNames | String[] | FallBack 的一个或多个字体名称(以逗号分隔) |
例子
[C#]
// 使用两个 fonts
llBackRule 实例
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, new string[] { "MS Mincho", "MS Gothic"});
// 使用多种字体创建新的 FantFallBackRule 实例。
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, new string[] { "MS Gothic", "Tahoma, Times New Roman" });
也可以看看
- class FontFallBackRule
- 命名空间 Aspose.Slides
- 部件 Aspose.Slides