Class PhotoshopPackage
Represents Adobe Photoshop namespace.
public sealed class PhotoshopPackage : XmpPackage, IXmlValue, IEnumerable<KeyValuePair<string, object>>, IEnumerable
- Inheritance
-
PhotoshopPackage
- Implements
- Inherited Members
Constructors
PhotoshopPackage()
public PhotoshopPackage()
Fields
UrgencyMax
Urgency max value.
public const int UrgencyMax = 8
Field Value
UrgencyMin
Urgency min value.
public const int UrgencyMin = 1
Field Value
Methods
AddValue(string, string)
Adds string property.
public override void AddValue(string key, string value)
Parameters
key
stringThe string representation of key that is identified with added value.
value
stringThe string value.
Exceptions
- ArgumentNullException
key;Photoshop property could not be null
SetAuthorsPosition(string)
Sets the authors position.
public void SetAuthorsPosition(string authorsPosition)
Parameters
authorsPosition
stringThe authors position.
SetCaptionWriter(string)
Sets the caption writer.
public void SetCaptionWriter(string captionWriter)
Parameters
captionWriter
stringThe caption writer.
SetCategory(string)
Sets the category.
public void SetCategory(string category)
Parameters
category
stringThe category.
Exceptions
- ArgumentOutOfRangeException
category;Category is limited to 3 characters
SetCity(string)
Sets the city.
public void SetCity(string city)
Parameters
city
stringThe city name.
SetColorMode(ColorMode)
Sets the color mode.
public void SetColorMode(ColorMode colorMode)
Parameters
colorMode
ColorModeThe color mode.
SetCountry(string)
Sets the country.
public void SetCountry(string country)
Parameters
country
stringThe country.
SetCreatedDate(DateTime)
Sets created date.
public void SetCreatedDate(DateTime createdDate)
Parameters
createdDate
DateTimeThe created date.
SetCredit(string)
Sets the credit.
public void SetCredit(string credit)
Parameters
credit
stringThe credit.
SetDocumentAncestors(string[])
Sets the document ancestors.
public void SetDocumentAncestors(string[] ancestors)
Parameters
ancestors
string[]The ancestors.
SetHeadline(string)
Sets the headline.
public void SetHeadline(string headline)
Parameters
headline
stringThe headline.
SetHistory(string)
Sets the history.
public void SetHistory(string history)
Parameters
history
stringThe history.
SetIccProfile(string)
Sets the icc profile.
public void SetIccProfile(string iccProfile)
Parameters
iccProfile
stringThe icc profile.
SetInstructions(string)
Sets the instructions.
public void SetInstructions(string instructions)
Parameters
instructions
stringThe instructions.
SetSource(string)
Sets the source.
public void SetSource(string source)
Parameters
source
stringThe source.
SetState(string)
Sets the state.
public void SetState(string state)
Parameters
state
stringThe state.
SetSupplementalCategories(string[])
Sets supplemental categories.
public void SetSupplementalCategories(string[] supplementalCategories)
Parameters
supplementalCategories
string[]The supplemental categories.
SetTransmissionReference(string)
Sets the transmission reference.
public void SetTransmissionReference(string transmissionReference)
Parameters
transmissionReference
stringThe transmission reference.
SetUrgency(int)
Sets the urgency.
public void SetUrgency(int urgency)
Parameters
urgency
intThe urgency.
Remarks
Urgency should be in rage from 1 till 8.
Exceptions
- ArgumentOutOfRangeException
urgency;Valid range is from 1 to 8