Aspose::Page::EPS::XMP::XmpMetadata 类
内容
[
隐藏
]XmpMetadata class
提供对 XMP 元数据流的访问。
class XmpMetadata : public System::Collections::Generic::IDictionary<System::String, System::SharedPtr<XmpValue>>
方法
| 方法 | 描述 |
|---|---|
| Add(const System::String&, const System::SharedPtr<XmpValue>&) override | 向元数据添加值。 |
| Add(const System::String&, const System::SharedPtr<System::Object>&) | 向元数据添加值。 |
| Add(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&) override | 向字典中添加键和值对。 |
| AddArrayItem(System::String, System::SharedPtr<XmpValue>) | 向数组中添加值。该值将被添加到数组的末尾。 |
| AddArrayItem(System::String, int32_t, System::SharedPtr<XmpValue>) | 通过指定索引向数组中添加值。 |
| AddNamedValue(System::String, System::String, System::SharedPtr<XmpValue>) | 向结构中添加具名值。 |
| Clear() override | 清除元数据。 |
| Contains(const System::String&) const | 检查键是否包含在元数据中。 |
| Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&) const override | 检查指定的键值对是否包含在字典中。 |
| ContainsKey(const System::String&) const override | 确定此字典是否包含指定键。 |
| CopyTo(System::ArrayPtr<System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>>, int32_t) override | 将集合的元素复制到数组中。 |
| get_Count() const override | 获取集合中元素的数量。 |
| get_IsFixedSize() const | 检查集合是否具有固定大小。 |
| get_IsReadOnly() const override | 检查集合是否为只读。 |
| get_IsSynchronized() | 检查集合是否已同步。 |
| get_Keys() const override | 获取元数据键的集合。 |
| get_NamespaceManager() | 获取命名空间管理器。 |
| get_SyncRoot() const | 获取集合同步对象。 |
| get_Values() const override | 获取元数据中的值。 |
| GetEnumerator() override | 返回字典枚举器。 |
| GetNamespaceUriByPrefix(System::String) | 通过前缀返回命名空间 URI。 |
| GetPrefixByNamespaceUri(System::String) | 返回命名空间 URI 的前缀。 |
| idx_get(const System::String&) const override | 从元数据获取数据。 |
| idx_set(const System::String&, System::SharedPtr<XmpValue>) override | 从元数据设置数据。 |
| RegisterNamespaceUri(System::String, System::String) | 注册命名空间 URI。 |
| RegisterNamespaceUri(System::String, System::String, System::String) | 注册命名空间 URI。 |
| Remove(const System::String&) override | 从元数据中移除条目。 |
| Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&) override | 从集合中移除键/值对。 |
| SetArrayItem(System::String, int32_t, System::SharedPtr<XmpValue>) | 在数组中设置值。先前的值将被新值替换。 |
| SetNamedValue(System::String, System::String, System::SharedPtr<XmpValue>) | 在结构体中设置具名值。如果已存在先前的具名值,将被新值替换。 |
| TryGetValue(const System::String&, System::SharedPtr<XmpValue>&) const override | 尝试在字典中查找键,如果找到则检索其值。 |
另见
- Class IDictionary
- Namespace Aspose::Page::EPS::XMP
- Library Aspose.Page for C++