Manages XMP Metadata of the project.
Methods
# static getPropertyValue(prop, defaultValopt) → {Object}
Gets the value of a property.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
prop |
string
|
The name of the property | |
defaultVal |
*
|
<optional> |
A default value to be returned if the property is not found. |
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 |