PhotoshopPackage Class
Summary: Represents Adobe Photoshop namespace.
Module: aspose.imaging.xmp.schemas.photoshop
Full Name: aspose.imaging.xmp.schemas.photoshop.PhotoshopPackage
Inheritance: IXmlValue, XmpPackage
Constructors
| Name | Description |
|---|---|
| PhotoshopPackage() | Initializes a new instance of the PhotoshopPackage class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| URGENCY_MAX [static] | int | r | Urgency max value. |
| URGENCY_MIN [static] | int | r | Urgency min value. |
| count | int | r | Gets the XMP key count. |
| 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. |
| add_value(key, value) | Adds string property. |
| clear() | Clears this instance. |
| contains_key(key) | Determines whether this collection specified key. |
| get_prop_value(key) | Gets the object with the specified key. |
| get_xml_value() | Converts XMP value to the XML representation. |
| remove(key) | Remove the value with the specified key. |
| set_authors_position(authors_position) | Sets the authors position. |
| set_caption_writer(caption_writer) | Sets the caption writer. |
| set_category(category) | Sets the category. |
| set_city(city) | Sets the city. |
| set_color_mode(color_mode) | Sets the color mode. |
| set_country(country) | Sets the country. |
| set_created_date(created_date) | Sets created date. |
| set_credit(credit) | Sets the credit. |
| set_document_ancestors(ancestors) | Sets the document ancestors. |
| set_headline(headline) | Sets the headline. |
| set_history(history) | Sets the history. |
| set_icc_profile(icc_profile) | Sets the icc profile. |
| set_instructions(instructions) | Sets the instructions. |
| set_prop_value(key, value) | Gets or sets the object with the specified key. |
| set_source(source) | Sets the source. |
| set_state(state) | Sets the state. |
| set_supplemental_categories(supplemental_categories) | Sets supplemental categories. |
| set_transmission_reference(transmission_reference) | Sets the transmission reference. |
| set_urgency(urgency) | Sets the urgency. |
| set_value(key, value) | Sets the value. |
| set_value(key, value) | Sets the value. |
| set_xmp_type_value(key, value) | Sets the XMP type value. |
| try_get_value(key, value) | Gets the value by the key. |
Constructor: PhotoshopPackage()
PhotoshopPackage()
Initializes a new instance of the PhotoshopPackage class.
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: 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 | System.Object | The string value. |
Method: contains_key(key)
contains_key(key)
Determines whether this collection specified key.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| key | string | The key to be checked. |
Returns
| Type | Description |
|---|---|
| bool | True if the contains the specified key; otherwise, False. |
Method: get_prop_value(key)
get_prop_value(key)
Gets the object with the specified key.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| key | string | The key that identifies value. |
Returns
| Type | Description |
|---|---|
| System.Object | Returns the object with the specified 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_authors_position(authors_position)
set_authors_position(authors_position)
Sets the authors position.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| authors_position | string | The authors position. |
Method: set_caption_writer(caption_writer)
set_caption_writer(caption_writer)
Sets the caption writer.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| caption_writer | string | The caption writer. |
Method: set_category(category)
set_category(category)
Sets the category.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| category | string | The category. |
Method: set_city(city)
set_city(city)
Sets the city.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| city | string | The city name. |
Method: set_color_mode(color_mode)
set_color_mode(color_mode)
Sets the color mode.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| color_mode | ColorMode | The color mode. |
Method: set_country(country)
set_country(country)
Sets the country.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| country | string | The country. |
Method: set_created_date(created_date)
set_created_date(created_date)
Sets created date.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| created_date | System.DateTime | The created date. |
Method: set_credit(credit)
set_credit(credit)
Sets the credit.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| credit | string | The credit. |
Method: set_document_ancestors(ancestors)
set_document_ancestors(ancestors)
Sets the document ancestors.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ancestors | string[] | The ancestors. |
Method: set_headline(headline)
set_headline(headline)
Sets the headline.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| headline | string | The headline. |
Method: set_history(history)
set_history(history)
Sets the history.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| history | string | The history. |
Method: set_icc_profile(icc_profile)
set_icc_profile(icc_profile)
Sets the icc profile.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| icc_profile | string | The icc profile. |
Method: set_instructions(instructions)
set_instructions(instructions)
Sets the instructions.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| instructions | string | The instructions. |
Method: set_prop_value(key, value)
set_prop_value(key, value)
Gets or sets the object with the specified key.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| key | string | The key that identifies value. |
| value | System.Object | The object with the specified key. |
Method: set_source(source)
set_source(source)
Sets the source.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | string | The source. |
Method: set_state(state)
set_state(state)
Sets the state.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| state | string | The state. |
Method: set_supplemental_categories(supplemental_categories)
set_supplemental_categories(supplemental_categories)
Sets supplemental categories.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| supplemental_categories | string[] | The supplemental categories. |
Method: set_transmission_reference(transmission_reference)
set_transmission_reference(transmission_reference)
Sets the transmission reference.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| transmission_reference | string | The transmission reference. |
Method: set_urgency(urgency)
set_urgency(urgency)
Sets the urgency.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| urgency | int | The urgency. |
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_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 | IXmpType | 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. |
Method: try_get_value(key, value)
try_get_value(key, value)
Gets the value by the key.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| key | string | The XMP element key. |
| value | System.Object | The XMP value. |
Returns
| Type | Description |
|---|---|
| bool | True, if the contains the key; otherwise, False. |