XmpArray
Overview
XmpArray is a class in Aspose.PDF FOSS for Python.
An ordered XMP array value.
This class provides 2 methods for working with XmpArray objects in Python programs.
Available methods include: add, remove.
All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: items, kind, namespace_provider.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
items | list[XmpField] | Read/Write | Gets or sets the items. |
namespace_provider | XmpNamespaceProvider | None | Read/Write | Gets or sets the namespace provider. |
kind | str | Read/Write | Gets or sets the kind. |
Methods
| Signature | Description |
|---|---|
add(item: XmpField) | Appends a new element to the ordered XMP array, while remove(item) returns a boolean indicating whether the element was removed |
remove(item: XmpField) → bool | Calls remove(item) on this XmpArray instance. |