Item
FontFallBackRulesCollection indexer
获取指定索引处的规则。 只读IFontFallBackRule
。
public IFontFallBackRule this[int index] { get; }
例子
[C#]
using (Presentation pres = new Presentation ())
{
//从 FontsManager
则集合
IFontFallBackRulesCollection rulesList = pres.FontsManager.FontFallBackRulesCollection;
//向collection
rulesList.Add(new FontFallBackRule(0x400,0x4FF, "Times New Roman"));
rulesList.Add(new FontFallBackRule(0x3040, 0x309F, "MS Mincho"));
//获取collection
IFontFallBackRule firstRule = rulesList[0];
}
也可以看看
- interface IFontFallBackRule
- class FontFallBackRulesCollection
- 命名空间 Aspose.Slides
- 部件 Aspose.Slides