
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 287
XMPPacketInfo object
This object is returned by XMPFile.getPacketInfo(). The read-only properties describe the XMP packet for
the file represented by the XMPFile object
.
XMPPacketInfo object properties
XMPProperty object
This object is returned by various property accessor functions of the XMPMeta object, such as
getProperty()
. The read-only properties describe a metadata property.
XMPProperty object properties
charForm
Number The character encoding in the packet, one of:
0 — UTF8
2 — UTF-16, MSB-first (big-endian)
3 — UTF-16, LSB-first (little-endian)
4 — UTF 32, MSB-first (big-endian)
5 — UTF 32, LSB-first (little-endian)
length
Number The length of the packet in bytes.
offset
Number The byte-offset from the start of the file where the packet begins.
packet
String The raw packet data.
padSize
Number The packet’s padding size in bytes, 0 if unknown.
writeable
Boolean If true, the packet is writeable.
locale
String The language of the property value. This value is set by calls to
getLocalizedText()
, which assigns the language of the selected alternative text
item, if an appropriate item is found.
namespace
String The namespace of the property; see “Schema namespace string constants” on
page 262. Typically used when browsing metadata with an XMPIterator object.
options
Number A constant that describes the property type, 0 for a simple property. Constants
are:
X XMPConst.PROP_IS_ARRAY — The property is an array (of type alt, bag, or
seq).
X XMPConst.PROP_IS_STRUCT — The property is a structure with nested
fields.
Comentários a estes Manuais