XmpPackageBaseCollection Class
Contents
[
Hide
]Summary: Represents collection of XmpPackage.
Module: aspose.psd.xmp
Full Name: aspose.psd.xmp.XmpPackageBaseCollection
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
XmpPackageBaseCollection() | Initializes a new instance of the XmpPackageBaseCollection class |
Properties
Name | Type | Access | Description |
---|---|---|---|
count | int | r | Gets the number of elements in the collection. |
Methods
Name | Description |
---|---|
add(package) | Adds new instance of XmpPackage. |
clear() | Clear all XmpPackage inside collection. |
get_package(namespace_uri) | Gets XmpPackage by it’s namespaceURI. |
get_packages() | Get array of XmpPackage. |
remove(package) | Removes the specified XMP package. |
Constructor: XmpPackageBaseCollection()
XmpPackageBaseCollection()
Initializes a new instance of the XmpPackageBaseCollection class
Method: add(package)
add(package)
Adds new instance of XmpPackage.
Parameters:
Parameter | Type | Description |
---|---|---|
package | XmpPackage | The XMP package to add. |
Method: get_package(namespace_uri)
get_package(namespace_uri)
Gets XmpPackage by it’s namespaceURI.
Parameters:
Parameter | Type | Description |
---|---|---|
namespace_uri | string | The namespace URI to get package for. |
Returns
Type | Description |
---|---|
XmpPackage | Returns XMP package for specified namespace Uri. |
Method: get_packages()
get_packages()
Get array of XmpPackage.
Returns
Type | Description |
---|---|
XmpPackage[] | Returns an array of XMP packages. |
Method: remove(package)
remove(package)
Removes the specified XMP package.
Parameters:
Parameter | Type | Description |
---|---|---|
package | XmpPackage | The XMP package to remove. |