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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 283
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 284
setArrayItem()
XMPMetaObj.setArrayItem(schemaNS, arrayName, itemIndex, itemValue[, itemOptions])
schemaNS
The namespace URI string. See Schema namespace string constants” on
page 262.
arrayName
The name string of an existing array. Can be a general path expression.
itemIndex
Number. The 1-based position index of the item. Use
XMPConst.ARRAY_LAST_ITEM to replace the last existing item in the array.
itemValue
The new item value string. Pass null for array items that do not have values.
itemOptions
Optional, a flag that describes the new item, if it is being created. One of:
0 — A simple item, the default.
XMPConst.PROP_IS_ARRAY — The item is an array (of type alt, bag, or seq).
XMPConst.PROP_IS_STRUCTThe item is a structure with nested fields.
Replaces an item within an array, or appends an item. The array must exist. To create an item,
appendArrayItem()
and insertArrayItem() are preferred.
Returns
undefined.
setLocalizedText()
XMPMetaObj.setLocalizedText(schemaNS, altTextName, genericLang, specificLang,
itemValue, setOptions)
schemaNS
The namespace URI string. See Schema namespace string constants” on
page 262.
altTextName
The name string of the alternate-text array. Can be a general path expression.
genericLang
The name of the generic language as an RFC 3066 primary subtag. Can be null or
the empty string.
specificLang
The name of the specific language as an RFC 3066 primary subtag; for example,
de-CH. Must be specified.
itemValue
The new string value.
setOptions
Not used.
Sets the text value for a specific language in an alternate-text array. Handles special cases for the
x-default item.
Returns
undefined.
Vista de página 283
1 2 ... 279 280 281 282 283 284 285 286 287 288 289 ... 303 304

Comentários a estes Manuais

Sem comentários