PdfXmpMetadata
概述
PdfXmpMetadata 是 Aspose.PDF FOSS for C++ 中的一个类。
此类提供 15 个用于在 C++ 程序中处理 PdfXmpMetadata 对象的方法。可用的方法包括:Add、Clear、Contains、ContainsKey、Count、GetNamespaceURIByPrefix、GetPrefixByNamespaceURI、IsFixedSize、IsReadOnly、Keys、PdfXmpMetadata、RegisterNamespaceURI,以及另外 3 个方法。安装 Aspose.PDF FOSS for C++ 包后,所有公共成员均可供任何 C++ 应用程序访问。
方法
| 签名 | 描述 |
|---|---|
PdfXmpMetadata() | 在此 PdfXmpMetadata 实例上调用 PdfXmpMetadata。 |
RegisterNamespaceURI(prefix: std::string, namespaceURI: std::string) | 在此 PdfXmpMetadata 实例上调用 RegisterNamespaceURI(prefix, namespaceURI)。 |
GetNamespaceURIByPrefix(prefix: std::string) → std::string | 在此 PdfXmpMetadata 实例上调用 GetNamespaceURIByPrefix(prefix)。 |
GetPrefixByNamespaceURI(namespaceURI: std::string) → std::string | 在此 PdfXmpMetadata 实例上调用 GetPrefixByNamespaceURI(namespaceURI)。 |
Add(key: std::string, value: Aspose::Pdf::XmpValue) | 在此 PdfXmpMetadata 实例上调用 Add(key, value)。 |
Clear() | 在此 PdfXmpMetadata 实例上调用 Clear。 |
Contains(key: std::string) → bool | 在此 PdfXmpMetadata 实例上调用 Contains(key)。 |
Remove(key: std::string) → bool | 在此 PdfXmpMetadata 实例上调用 Remove(key)。 |
ContainsKey(key: std::string) → bool | 在此 PdfXmpMetadata 实例上调用 ContainsKey(key)。 |
TryGetValue(key: std::string, value: Aspose::Pdf::XmpValue) → bool | 在此 PdfXmpMetadata 实例上调用 TryGetValue(key, value)。 |
Keys() → std::vector<std::string> | 在此 PdfXmpMetadata 实例上调用 Keys。 |
Values() → std::vector<Aspose::Pdf::XmpValue> | 在此 PdfXmpMetadata 实例上调用 Values。 |
IsFixedSize() → bool | 如果已设置固定大小,则返回 true。 |
IsReadOnly() → bool | 如果已设置只读,则返回 true。 |
Count() → int | 对该 PdfXmpMetadata 实例调用 Count。 |