XmpValue
概述
XmpValue 是 Aspose.PDF 为 C++ 提供的 FOSS 中的一个类。
XmpValue 提供转换辅助函数:ToString()、ToInteger()、ToDouble()、ToArray(),以及类型查询方法,如 IsString() 和 IsArray()。
此类在 C++ 程序中提供了 20 个用于操作 XmpValue 对象的方法。可用的方法包括:IsArray、IsDateTime、IsDouble、IsField、IsInteger、IsNamedValue、IsNamedValues、IsRaw、IsString、IsStructure、ToArray、ToDouble,以及另外 5 个方法。安装 Aspose.PDF 为 C++ 提供的 FOSS 包后,所有公共成员对任何 C++ 应用程序均可访问。访问器方法:XmpValue。
访问器方法
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
XmpValue | XmpValue | 读取 | 获取 xmp 值。 |
方法
| 签名 | 描述 |
|---|---|
XmpValue() → XmpValue | 在此 XmpValue 实例上调用 XmpValue。 |
XmpValue() → XmpValue | |
XmpValue() | |
XmpValue() | |
~XmpValue() | 在此 XmpValue 实例上调用 ~XmpValue。 |
ToStringValue() → std::string | 在此 XmpValue 实例上调用 ToStringValue。 |
ToInteger() → int | 在此 XmpValue 实例上调用 ToInteger。 |
ToDouble() → double | 在此 XmpValue 实例上调用 ToDouble。 |
ToArray() → std::vector<XmpValue> | 在此 XmpValue 实例上调用 ToArray。 |
ToString() → std::string | 在此 XmpValue 实例上调用 ToString。 |
IsString() → bool | 如果字符串已设置,则返回 true。 |
IsInteger() → bool | 如果整数已设置,则返回 true。 |
IsDouble() → bool | 如果 double 已设置,则返回 true。 |
IsArray() → bool | 如果数组已设置,则返回 true。 |
IsDateTime() → bool | 如果已设置日期时间,则返回 true。 |
IsField() → bool | 如果字段已设置,则返回 true。 |
IsNamedValue() → bool | 如果已设置命名值,则返回 true。 |
IsRaw() → bool | 如果已设置 raw,则返回 true。 |
IsNamedValues() → bool | 如果已设置命名的值,则返回 true。 |
IsStructure() → bool | 如果结构已设置,则返回 true。 |