FontCollection

FontCollection class

包含字体元素的集合。

public class FontCollection : Collection

构造函数

姓名 描述
FontCollection() 构造函数.

特性

姓名 描述
Count { get; } 获取集合中实际包含的元素个数。
Item { get; } 获取指定索引处的元素。

方法

姓名 描述
Add(Font) 在集合中添加字体对象。
Clear() 从集合中删除所有元素。
GetEnumerator() 支持对非泛型集合的简单迭代。
GetFont(int) 获取指定ID处的元素。
IsExist(int) 是集合中存在的项目。
Remove(Font) 从集合中删除字体对象。

也可以看看