Class DublinCorePackage
- Namespace
- Aspose.Imaging.Xmp.Schemas.DublinCore
- Assembly
- Aspose.Imaging.dll
Represents Dublic Core schema.
public sealed class DublinCorePackage : XmpPackage, IXmlValue, IEnumerable<KeyValuePair<string, object>>, IEnumerable
- Inheritance
-
DublinCorePackage
- Implements
- Inherited Members
Remarks
For more information see: http://dublincore.org/documents/usageguide/elements.shtml.
Constructors
DublinCorePackage()
public DublinCorePackage()
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;DublinCore property could not be null
SetAuthor(string)
Adds the author.
public void SetAuthor(string author)
Parameters
author
stringThe author.
SetAuthor(string[])
Adds the author.
public void SetAuthor(string[] author)
Parameters
author
string[]The author.
SetDescription(LangAlt)
Adds the description.
public void SetDescription(LangAlt desc)
Parameters
desc
LangAltThe description.
SetDescription(string)
Adds the description.
public void SetDescription(string desc)
Parameters
desc
stringThe description.
SetPublisher(string)
Adds the publisher.
public void SetPublisher(string publisher)
Parameters
publisher
stringThe publisher.
SetPublisher(string[])
Adds the publisher.
public void SetPublisher(string[] publisher)
Parameters
publisher
string[]The publisher.
Exceptions
- ArgumentNullException
publisher
SetSubject(string)
Adds the subject.
public void SetSubject(string subject)
Parameters
subject
stringThe subject.
SetSubject(string[])
Adds the subject.
public void SetSubject(string[] subject)
Parameters
subject
string[]The subject.
SetTitle(LangAlt)
Adds Dublin Core title for different languages.
public void SetTitle(LangAlt title)
Parameters
SetTitle(string)
Adds Dublin Core title.
public void SetTitle(string title)
Parameters
title
stringThe title.