Add
FontFallBackRulesCollection.Add method
将指定的 FallBack 规则添加到集合的末尾。
public void Add(IFontFallBackRule sourceRule)
范围 | 类型 | 描述 |
---|---|---|
sourceRule | IFontFallBackRule | 添加 |
例子
[C#]
using (Presentation pres = new Presentation ())
{
//从 FontsManager
则集合
IFontFallBackRulesCollection rulesList = pres.FontsManager.FontFallBackRulesCollection;
//向collection
rulesList.Add(new FontFallBackRule(0x400,0x4FF, "Times New Roman"));
}
也可以看看
- interface IFontFallBackRule
- class FontFallBackRulesCollection
- 命名空间 Aspose.Slides
- 部件 Aspose.Slides