XImageCollection
内容
[
隐藏
]XImageCollection class
代表 XImage 集合的类。
public sealed class XImageCollection : ICollection<XImage>
特性
姓名 | 描述 |
---|---|
Count { get; } | 集合中的图像计数。 |
IsReadOnly { get; } | 获取一个值,该值指示该集合是否为只读。 |
IsSynchronized { get; } | 如果对象已同步,则返回 true。 |
Item { get; } | 通过索引从集合中获取图像。 (2 indexers) |
Names { get; } | 获取图像名称数组。 |
SyncRoot { get; } | 返回同步对象。 |
方法
姓名 | 描述 |
---|---|
Add(Stream) | 将实体添加到集合的末尾,因此可以通过最后一个索引访问实体。 |
Add(XImage) | 将新图像添加到图像列表。此方法添加图像作为对相同 PdfObject 的引用(允许减小文件大小) |
Add(Stream, ImageFilterType) | 将实体添加到集合的末尾,因此可以通过最后一个索引访问实体。 |
Add(Stream, int) | 将实体添加到集合的末尾,因此可以通过最后一个索引访问实体。 |
Clear() | 清除集合中的所有项目。 |
Contains(XImage) | 确定集合是否包含特定值。 |
CopyTo(XImage[], int) | 将图像数组复制到集合中。 |
Delete() | 从集合中删除图像。 |
Delete(int) | 按索引从集合中删除索引。 |
Delete(string) | 按名称从集合中删除项目。 |
Delete(int, ImageDeleteAction) | 通过执行操作参数指定的操作的索引从集合中删除图像。 |
Delete(string, ImageDeleteAction) | 按名称从集合中删除项目。 |
GetEnumerator() | 返回集合枚举器。 |
GetImageName(XImage) | 返回图像列表中的名称,它是给定图像的键。 |
Remove(XImage) | 从集合中移除项目,抛出未实现异常. |
Replace(int, Stream) | 用另一个图像替换集合中的图像。 |
Replace(int, Stream, int) | 用另一个图像替换集合中的图像。 |
Replace(int, Stream, int, bool) | 用另一个图像替换集合中的图像。 |
也可以看看
- class XImage
- 命名空间 Aspose.Pdf
- 部件 Aspose.PDF