XMP
Methods
-
static getPropertyValue(prop, typeopt) → {Object}
-
Gets the value of a property.
Parameters:
Name Type Attributes Description prop
string The name of the property type
XMPConst <optional>
The property data type, one of: - XMPConst.STRING - XMPConst.INTEGER - XMPConst.NUMBER - XMPConst.BOOLEAN - XMPConst.XMPDATE Returns:
Object - The value -
static getSettings() → {object}
-
Gets the project settings stored in XMP by DuAEF.
Returns:
object - The settings. -
static getXmp() → {XMPMeta}
-
Gets the XMP of the current project
Returns:
XMPMeta - The XMP data -
static saveSettings(settings)
-
Saves the project settings stored in XMP by DuAEF.
Parameters:
Name Type Description settings
object The settings. -
static setPropertyValue(prop, value)
-
Sets the value of a property.
Parameters:
Name Type Description prop
string The name of the property value
Object The value