XmpBasicPackage Class
Summary: Represents XMP basic namespace.
Module: aspose.psd.xmp.schemas.xmpbaseschema
Full Name: aspose.psd.xmp.schemas.xmpbaseschema.XmpBasicPackage
Inheritance: IXmlValue, XmpPackage
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
XmpBasicPackage() | Initializes a new instance of the XmpBasicPackage class. |
XmpBasicPackage(prefix, namespace_uri) | Initializes a new instance of the XmpBasicPackage class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
RATING_MAX [static] | int | r | Rating max value. |
RATING_MIN [static] | int | r | Rating min value. |
RATING_REJECTED [static] | int | r | Rating rejected value. |
namespace_uri | string | r | Gets the namespace URI. |
prefix | string | r | Gets the prefix. |
xml_namespace | string | r | Gets the XML namespace. |
Methods
Name | Description |
---|---|
add_value(key, value) | Adds string property. |
clear() | Clears this instance. |
contains_key(key) | Determines whether the specified key contains key. |
get_xml_value() | Converts XMP value to the XML representation. |
remove(key) | Remove the value with the specified key. |
set_created_date(created_date) | Adds resource created date. |
set_created_date(created_date) | Adds resource created date. |
set_creator_tool(creator_tool) | Sets the creator tool. |
set_identifier(idenfifier) | Sets the identifier. |
set_label(label) | Sets the label. |
set_metadata_date(metadata_date) | Adds metadata last changed date. |
set_metadata_date(metadata_date) | Adds metadata last changed date. |
set_modify_date(modified_date) | Adds resource last modified date. |
set_modify_date(modified_date) | Adds resource last modified date. |
set_rating(choise) | Sets rating. |
set_value(key, value) | Sets the value. |
set_xmp_type_value(key, value) | Sets the XMP type value. |
Constructor: XmpBasicPackage()
XmpBasicPackage()
Initializes a new instance of the XmpBasicPackage class.
Constructor: XmpBasicPackage(prefix, namespace_uri)
XmpBasicPackage(prefix, namespace_uri)
Initializes a new instance of the XmpBasicPackage class.
Parameters:
Parameter | Type | Description |
---|---|---|
prefix | string | The prefix. |
namespace_uri | string | The namespace URI. |
Method: add_value(key, value)
add_value(key, value)
Adds string property.
Parameters:
Parameter | Type | Description |
---|---|---|
key | string | The string representation of key that is identified with added value. |
value | string | The string value. |
Method: contains_key(key)
contains_key(key)
Determines whether the specified key contains key.
Parameters:
Parameter | Type | Description |
---|---|---|
key | string | The key to be checked. |
Returns
Type | Description |
---|---|
bool | Returns true if the specified key contains key. |
Method: get_xml_value()
get_xml_value()
Converts XMP value to the XML representation.
Returns
Type | Description |
---|---|
string | Returns the XMP value converted to the XML representation. |
Method: remove(key)
remove(key)
Remove the value with the specified key.
Parameters:
Parameter | Type | Description |
---|---|---|
key | string | The string representation of key that is identified with removed value. |
Returns
Type | Description |
---|---|
bool | Returns true if the value with the specified key was removed. |
Method: set_created_date(created_date)
set_created_date(created_date)
Adds resource created date.
Parameters:
Parameter | Type | Description |
---|---|---|
created_date | datetime | Created date. |
Method: set_created_date(created_date)
set_created_date(created_date)
Adds resource created date.
Parameters:
Parameter | Type | Description |
---|---|---|
created_date | string | Created date. |
Method: set_creator_tool(creator_tool)
set_creator_tool(creator_tool)
Sets the creator tool.
Parameters:
Parameter | Type | Description |
---|---|---|
creator_tool | string | Name of tool. |
Method: set_identifier(idenfifier)
set_identifier(idenfifier)
Sets the identifier.
Parameters:
Parameter | Type | Description |
---|---|---|
idenfifier | string | The idenfifier. |
Method: set_label(label)
set_label(label)
Sets the label.
Parameters:
Parameter | Type | Description |
---|---|---|
label | string | The label. |
Method: set_metadata_date(metadata_date)
set_metadata_date(metadata_date)
Adds metadata last changed date.
Parameters:
Parameter | Type | Description |
---|---|---|
metadata_date | datetime | Metadata date. |
Method: set_metadata_date(metadata_date)
set_metadata_date(metadata_date)
Adds metadata last changed date.
Parameters:
Parameter | Type | Description |
---|---|---|
metadata_date | string | Metadata date. |
Method: set_modify_date(modified_date)
set_modify_date(modified_date)
Adds resource last modified date.
Parameters:
Parameter | Type | Description |
---|---|---|
modified_date | datetime | Last modified date. |
Method: set_modify_date(modified_date)
set_modify_date(modified_date)
Adds resource last modified date.
Parameters:
Parameter | Type | Description |
---|---|---|
modified_date | string | Last modified date. |
Method: set_rating(choise)
set_rating(choise)
Sets rating.
Parameters:
Parameter | Type | Description |
---|---|---|
choise | int | From -1 till 5 |
Method: set_value(key, value)
set_value(key, value)
Sets the value.
Parameters:
Parameter | Type | Description |
---|---|---|
key | string | The string representation of key that is identified with added value. |
value | IXmlValue | The value to add to. |
Method: set_xmp_type_value(key, value)
set_xmp_type_value(key, value)
Sets the XMP type value.
Parameters:
Parameter | Type | Description |
---|---|---|
key | string | The string representation of key that is identified with set value. |
value | XmpTypeBase | The value to set to. |