EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 288

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 287
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 288
XMPUtils object
This class provides additional utility functions for the XMP Toolkit, layered upon the functionality of the
XMPMeta object
. It has only static functions, you cannot create an instance.
X Path-composition functions such as composeArrayItemPath(), provide support for composing path
expressions to deeply nested properties, which you can then pass to the accessor functions in
XMPMeta object
, such as getProperty().
X Higher-level functions such as duplicateSubtree() allow you to manipulate the metadata tree in an
XMPMeta object
.
XMPUtils class functions
path
String The property path, including the property name. For a simple property, the
entire path is the property name.
value
Variant The value of the property, if any. Arrays and non-leaf levels of structures do not
have values.
appendProperties()
XMPUtils.appendProperties(source, dest, options)
source
The source XMPMeta object.
dest
The destination XMPMeta object.
options
Option flags that control the copying operation. A logical OR of these bit-flag
constants:
X XMPConst.APPEND_ALL_PROPERTIES — Include both internal and external
properties. By default, copies only external properties. This applies only to
top-level properties.
X XMPConst.APPEND_REPLACE_OLD_VALUES — Replace the values of existing
properties with the value from the source object. By default, existing values
are retained. This applies to properties at all levels of hierarchy.
X XMPConst.APPEND_DELETE_EMPTY_VALUES — Delete properties if the new
value is empty.
Default is 0.
Copies properties from a source XMPMeta object
and appends them to a destination XMPMeta
object.
Returns
undefined.
Vista de página 287
1 2 ... 283 284 285 286 287 288 289 290 291 292 293 ... 303 304

Comentários a estes Manuais

Sem comentários