Class XmpBasicPackage
- Namespace
- Aspose.Imaging.Xmp.Schemas.XmpBaseSchema
- Assembly
- Aspose.Imaging.dll
Represents XMP basic namespace.
public class XmpBasicPackage : XmpPackage, IXmlValue, IEnumerable<KeyValuePair<string, object>>, IEnumerable
- Inheritance
-
XmpBasicPackage
- Implements
- Inherited Members
Constructors
XmpBasicPackage()
Initializes a new instance of the XmpBasicPackage class.
public XmpBasicPackage()
XmpBasicPackage(string, string)
Initializes a new instance of the XmpBasicPackage class.
public XmpBasicPackage(string prefix, string namespaceUri)
Parameters
Fields
RatingMax
Rating max value.
public const int RatingMax = 5
Field Value
RatingMin
Rating min value.
public const int RatingMin = 0
Field Value
RatingRejected
Rating rejected value.
public const int RatingRejected = -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;Metadata key is not provided
SetCreatedDate(DateTime)
Adds resource created date.
public void SetCreatedDate(DateTime createdDate)
Parameters
createdDate
DateTimeCreated date.
SetCreatedDate(string)
Adds resource created date.
public void SetCreatedDate(string createdDate)
Parameters
createdDate
stringCreated date.
SetCreatorTool(string)
Sets the creator tool.
public void SetCreatorTool(string creatorTool)
Parameters
creatorTool
stringName of tool.
SetIdentifier(string[])
Sets the identifier.
public void SetIdentifier(string[] idenfifier)
Parameters
idenfifier
string[]The idenfifier.
SetLabel(string)
Sets the label.
public void SetLabel(string label)
Parameters
label
stringThe label.
SetMetadataDate(DateTime)
Adds metadata last changed date.
public void SetMetadataDate(DateTime metadataDate)
Parameters
metadataDate
DateTimeMetadata date.
SetMetadataDate(string)
Adds metadata last changed date.
public void SetMetadataDate(string metadataDate)
Parameters
metadataDate
stringMetadata date.
SetModifyDate(DateTime)
Adds resource last modified date.
public void SetModifyDate(DateTime modifiedDate)
Parameters
modifiedDate
DateTimeLast modified date.
SetModifyDate(string)
Adds resource last modified date.
public void SetModifyDate(string modifiedDate)
Parameters
modifiedDate
stringLast modified date.
SetRating(int)
Sets rating.
public void SetRating(int choise)
Parameters
choise
intFrom -1 till 5