FontSubstRuleCollection

FontSubstRuleCollection 类

表示字体替换的集合。

public class FontSubstRuleCollection : IFontSubstRuleCollection

构造函数

NameDescription
FontSubstRuleCollection()默认构造函数。

属性

NameDescription
Count { get; }获取集合中实际包含的元素数量。只读 Int32。
IsSynchronized { get; }返回一个值,指示对集合的访问是否已同步(线程安全)。只读 Boolean。
Item { get; }获取指定索引处的元素。
SyncRoot { get; }返回同步根。只读 Object。

方法

NameDescription
Add(IFontSubstRule)向集合中添加新的字体替换规则
CopyTo(Array, int)将集合中的所有元素复制到指定数组。
GetEnumerator()返回一个遍历集合的枚举器。
Remove(IFontSubstRule)从集合中移除首次出现的特定对象。

另请参阅