EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Spezifikationen Seite 286

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 304
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 285
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 286
setProperty()
XMPMetaObj.setProperty(schemaNS, propName, propValue[, setOptions, valueType])
schemaNS
The namespace URI string. See Schema namespace string constants” on
page 262.
propName
The property name string. Can be a general path expression.
propValue
The new property value string. Pass null to create an array or non-leaf level
structure property.
setOptions
Optional. The type of property to create, if the named property does not exist.
Default is 0, a simple-valued property. Other constant values are:
XMPConst.PROP_IS_ARRAY — T
he property is an array (of type
alt
,
bag
, or
seq
).
XMPConst.PROP_IS_STRUCT — The property is a structure with nested fields.
valueType
Optional. The property data type. If supplied, the value is converted to this type.
One of:
XMPConst.STRING
XMPConst.INTEGER
XMPConst.NUMBER
XMPConst.BOOLEAN
XMPConst.XMPDATE
Sets the value of a simple metadata property, creating the property if necessary, or creates a new
array or structure property. For creating array and structure properties, setArrayItem()
and
setStructField()
are preferred. Use this call to create or set top-level, simple properties, or after using
the path-composition functions in the XMPUtils object
.
Returns
undefined.
sort()
XMPMetaObj.sort ( )
Sorts the XMP contents alphabetically.
X At the top level, sorts namespaces by their prefixes.
X Within a namespace, sorts top-level properties are sorted by name.
X Within a struct, sorts fields by their qualified name (that is, the XML prefix:local form.
X Sorts unordered arrays of simple items by value.
X Sorts language alternative arrays by the xml:lang qualifiers, with the "x-default" item placed
first.
Returns
undefined.
Seitenansicht 285
1 2 ... 281 282 283 284 285 286 287 288 289 290 291 ... 303 304

Kommentare zu diesen Handbüchern

Keine Kommentare