
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 268
XMPFile object constructors
new XMPFile( filePath, format, openFlags)
XMPFile class properties
This property is available as a static property of the XMPFile class. It is not necessary to create an instance
to access it.
filePath
A string containing the file path of a document.
format
The file format constant. See “File format numeric constants” on page 264.
openFlags
The open options for the file. One of these constants:
X XMPConst.OPEN_FOR_READ Open for read-only access.
X XMPConst.OPEN_FOR_UPDATE Open for reading and writing.
X XMPConst.OPEN_ONLY_XMP Only the XMP is wanted, allows space/time
optimizations.
X XMPConst.OPEN_STRICTLY Be strict about locating XMP and reconciling with other
forms.
X XMPConst.OPEN_USE_SMART_HANDLER Require the use of a smart handler. No packet
scanning is performed.
X XMPConst.OPEN_USE_PACKET_SCANNING Force packet scanning, do not use a smart
handler.
X XMPConst.OPEN_LIMITED_SCANNING Only packet-scan files known to need scanning.
version
String The descriptive string for this version of the XMP Toolkit.
Comentários a estes Manuais