public final class PhotoshopPackage extends XmpPackage
Represents Adobe Photoshop namespace.
Modifier and Type | Field and Description |
---|---|
static int |
URGENCY_MAX
Urgency max value.
|
static int |
URGENCY_MIN
Urgency min value.
|
Constructor and Description |
---|
PhotoshopPackage()
Initializes a new instance of the
PhotoshopPackage class. |
Modifier and Type | Method and Description |
---|---|
void |
addValue(String key,
String value)
Adds string property.
|
void |
setAuthorsPosition(String authorsPosition)
Sets the authors position.
|
void |
setCaptionWriter(String captionWriter)
Sets the caption writer.
|
void |
setCategory(String category)
Sets the category.
|
void |
setCity(String city)
Sets the city.
|
void |
setColorMode(byte colorMode)
Sets the color mode.
|
void |
setCountry(String country)
Sets the country.
|
void |
setCreatedDate(Date createdDate)
Sets created date.
|
void |
setCredit(String credit)
Sets the credit.
|
void |
setDocumentAncestors(String[] ancestors)
Sets the document ancestors.
|
void |
setHeadline(String headline)
Sets the headline.
|
void |
setHistory(String history)
Sets the history.
|
void |
setIccProfile(String iccProfile)
Sets the icc profile.
|
void |
setInstructions(String instructions)
Sets the instructions.
|
void |
setSource(String source)
Sets the source.
|
void |
setState(String state)
Sets the state.
|
void |
setSupplementalCategories(String[] supplementalCategories)
Sets supplemental categories.
|
void |
setTransmissionReference(String transmissionReference)
Sets the transmission reference.
|
void |
setUrgency(int urgency)
Sets the urgency.
|
clear, containsKey, get_Item, getKeys, getNamespaceUri, getPrefix, getXmlNamespace, getXmlValue, iterator, remove, set_Item, setValue, setXmpTypeValue
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static final int URGENCY_MAX
Urgency max value.
public static final int URGENCY_MIN
Urgency min value.
public PhotoshopPackage()
Initializes a new instance of the PhotoshopPackage
class.
public void addValue(String key, String value)
Adds string property.
addValue
in class XmpPackage
key
- The string representation of key that is identified with added value.value
- The string value.com.aspose.ms.System.ArgumentNullException
- key;Photoshop property could not be nullpublic void setAuthorsPosition(String authorsPosition)
Sets the authors position.
authorsPosition
- The authors position.public void setCaptionWriter(String captionWriter)
Sets the caption writer.
captionWriter
- The caption writer.public void setCategory(String category)
Sets the category.
category
- The category.com.aspose.ms.System.ArgumentOutOfRangeException
- category;Category is limited to 3 characterspublic void setCity(String city)
Sets the city.
city
- The city name.public void setColorMode(byte colorMode)
Sets the color mode.
colorMode
- The color mode.public void setCountry(String country)
Sets the country.
country
- The country.public void setCredit(String credit)
Sets the credit.
credit
- The credit.public void setCreatedDate(Date createdDate)
Sets created date.
createdDate
- The created date.public void setDocumentAncestors(String[] ancestors)
Sets the document ancestors.
ancestors
- The ancestors.public void setHeadline(String headline)
Sets the headline.
headline
- The headline.public void setHistory(String history)
Sets the history.
history
- The history.public void setIccProfile(String iccProfile)
Sets the icc profile.
iccProfile
- The icc profile.public void setInstructions(String instructions)
Sets the instructions.
instructions
- The instructions.public void setSource(String source)
Sets the source.
source
- The source.public void setState(String state)
Sets the state.
state
- The state.public void setSupplementalCategories(String[] supplementalCategories)
Sets supplemental categories.
supplementalCategories
- The supplemental categories.public void setTransmissionReference(String transmissionReference)
Sets the transmission reference.
transmissionReference
- The transmission reference.public void setUrgency(int urgency)
Sets the urgency.
urgency
- The urgency.
Urgency should be in rage from 1 till 8.
com.aspose.ms.System.ArgumentOutOfRangeException
- urgency;Valid range is from 1 to 8