XMPDlog_EditData¶
Invoke the XMP Editor dialog.
XMPDlog_EditData(xmpDataRef{; options}) ➔ success
xmpDataRef | Text | The XMP data reference to be edited. |
options | Object | Editor options |
success | Longint | Completion status: 1 on success, 0 otherwise. |
Invoke the XMP Editor dialog.
Parameter xmpDataRef
is the reference of the XMP data to be edited.
The optional options
object parameter can be used for passing
options to the editor. The following properties can be used:
Property name | Type | Default | Description |
---|---|---|---|
WindowTitle |
String |
"XMP Metadata" |
The window title of the editor dialog. |
EditProps |
String |
"Spec" |
The editability of the properties in the XMP data.
"Spec" means according to the specification,
"All" means all properties editable, and
"None" means no properties editable. |
DevMode |
Boolean |
False |
Set to True to enable the developer mode in the editor. |
If the user accepts the editing dialog, the method returns 1
in
success
, otherwise 0
is returned.