Manages XMP Metadata of the project.
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 |
The value
Object
# static getSettings() → {object}
Gets the project settings stored in XMP by DuAEF.
The settings.
object
# 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 |