FontSourceCollection
概述
FontSourceCollection 是 Aspose.PDF FOSS 中用于 .NET 的类。继承自:System.Collections.Generic.IEnumerable<FontSource>。
由 FontRepository 使用的字体源集合。
此类提供 8 个用于在 .NET 程序中处理 FontSourceCollection 对象的方法。可用的方法包括:Add、Clear、Contains、CopyTo、Delete、FontSourceCollection、GetEnumerator、Remove。在安装 Aspose.PDF FOSS for .NET 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:Count、IsSynchronized、SyncRoot。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Count | int | 读取 | 获取计数。 |
IsSynchronized | bool | 读取 | 获取是否已同步。 |
SyncRoot | object | 读取 | 获取同步根。 |
方法
| 签名 | 描述 |
|---|---|
FontSourceCollection() | 在此 FontSourceCollection 实例上调用 FontSourceCollection。 |
Add(fontSource: FontSource) | 在此 FontSourceCollection 实例上调用 Add(fontSource)。 |
Contains(item: FontSource) | 在此 FontSourceCollection 实例上调用 Contains(item)。 |
Delete(fontSource: FontSource) | 在此 FontSourceCollection 实例上调用 Delete(fontSource)。 |
Remove(item: FontSource) | 在此 FontSourceCollection 实例上调用 Remove(item)。 |
CopyTo(array: FontSource[], index: int) | 在此 FontSourceCollection 实例上调用 CopyTo(array, index)。 |
Clear() | 在此 FontSourceCollection 实例上调用 Clear。 |
GetEnumerator() | 在此 FontSourceCollection 实例上调用 GetEnumerator。 |