Class PhotoshopPackage

Class PhotoshopPackage

Namespace: Aspose.Imaging.Xmp.Schemas.Photoshop
Assembly: Aspose.Imaging.dll (25.2.0)

Represents Adobe Photoshop namespace.

public sealed class PhotoshopPackage : XmpPackage, IXmlValue, IEnumerable<keyvaluepair<string, object="">&gt;, IEnumerable

Inheritance

objectXmpPackagePhotoshopPackage

Implements

IXmlValue, IEnumerable<keyvaluepair<string, object="">&gt;, IEnumerable

Inherited Members

XmpPackage.ContainsKey(string), XmpPackage.AddValue(string, string), XmpPackage.AddValue(string, object), XmpPackage.TryGetValue(string, out object), XmpPackage.Remove(string), XmpPackage.Clear(), XmpPackage.SetValue(string, IXmlValue), XmpPackage.SetValue(string, IXmpType), XmpPackage.SetXmpTypeValue(string, XmpTypeBase), XmpPackage.GetXmlValue(), XmpPackage.GetEnumerator(), XmpPackage.XmlNamespace, XmpPackage.Prefix, XmpPackage.NamespaceUri, XmpPackage.Keys, XmpPackage.Count, XmpPackage.this[string], object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

PhotoshopPackage()

public PhotoshopPackage()

Fields

UrgencyMax

Urgency max value.

public const int UrgencyMax = 8

Field Value

int

UrgencyMin

Urgency min value.

public const int UrgencyMin = 1

Field Value

int

Methods

AddValue(string, string)

Adds string property.

public override void AddValue(string key, string value)

Parameters

key string

The string representation of key that is identified with added value.

value string

The string value.

Exceptions

ArgumentNullException

key;Photoshop property could not be null

SetAuthorsPosition(string)

Sets the authors position.

public void SetAuthorsPosition(string authorsPosition)

Parameters

authorsPosition string

The authors position.

SetCaptionWriter(string)

Sets the caption writer.

public void SetCaptionWriter(string captionWriter)

Parameters

captionWriter string

The caption writer.

SetCategory(string)

Sets the category.

public void SetCategory(string category)

Parameters

category string

The category.

Exceptions

ArgumentOutOfRangeException

category;Category is limited to 3 characters

SetCity(string)

Sets the city.

public void SetCity(string city)

Parameters

city string

The city name.

SetColorMode(ColorMode)

Sets the color mode.

public void SetColorMode(ColorMode colorMode)

Parameters

colorMode ColorMode

The color mode.

SetCountry(string)

Sets the country.

public void SetCountry(string country)

Parameters

country string

The country.

SetCreatedDate(DateTime)

Sets created date.

public void SetCreatedDate(DateTime createdDate)

Parameters

createdDate DateTime

The created date.

SetCredit(string)

Sets the credit.

public void SetCredit(string credit)

Parameters

credit string

The 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 string

The headline.

SetHistory(string)

Sets the history.

public void SetHistory(string history)

Parameters

history string

The history.

SetIccProfile(string)

Sets the icc profile.

public void SetIccProfile(string iccProfile)

Parameters

iccProfile string

The icc profile.

SetInstructions(string)

Sets the instructions.

public void SetInstructions(string instructions)

Parameters

instructions string

The instructions.

SetSource(string)

Sets the source.

public void SetSource(string source)

Parameters

source string

The source.

SetState(string)

Sets the state.

public void SetState(string state)

Parameters

state string

The 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 string

The transmission reference.

SetUrgency(int)

Sets the urgency.

public void SetUrgency(int urgency)

Parameters

urgency int

The urgency.

Remarks

Urgency should be in rage from 1 till 8.

Exceptions

ArgumentOutOfRangeException

urgency;Valid range is from 1 to 8 </keyvaluepair<string,></keyvaluepair<string,>