XImageCollection
概述
XImageCollection 是 Aspose.PDF FOSS for C++ 中的一个类。
XImageCollection 管理多个 XImage 对象,提供 Add、Replace、Delete 和 Clear 操作。
此类为在 C++ 程序中使用 XImageCollection 对象提供了13个方法。可用的方法包括:Add、Clear、Contains、Count、Delete、GetImageName、Names、Remove、Replace、XImageCollection。在安装了 Aspose.PDF FOSS for C++ 包后,所有公共成员对任何 C++ 应用程序均可访问。访问器方法:XImageCollection。
访问器方法
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
XImageCollection | XImageCollection | 读取 | 获取 x image collection。 |
方法
| 签名 | 描述 |
|---|---|
XImageCollection() → XImageCollection | 在此 XImageCollection 实例上调用 XImageCollection。 |
XImageCollection() | |
Add(image: std::vector<std::byte>) → std::string | 在此 XImageCollection 实例上调用 Add(image)。 |
Replace(index: int, image: std::vector<std::byte>) | 在此 XImageCollection 实例上调用 Replace(index, image)。 |
Count() → int | 在此 XImageCollection 实例上调用 Count。 |
Names() → std::vector<std::string> | 在此 XImageCollection 实例上调用 Names。 |
Delete(index: int) | 在此 XImageCollection 实例上调用 Delete(index)。 |
Delete(name: std::string) | 在此 XImageCollection 实例上调用 Delete(name)。 |
Delete() | |
Clear() | 在此 XImageCollection 实例上调用 Clear。 |
Contains(image: XImage) → bool | 在此 XImageCollection 实例上调用 Contains(image)。 |
Remove(image: XImage) → bool | 在此 XImageCollection 实例上调用 Remove(image)。 |
GetImageName(image: XImage) → std::string | 在此 XImageCollection 实例上调用 GetImageName(image)。 |