EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificaciones Pagina 270

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 269
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 270
closeFile()
XMPFileObj.closeFile(closeFlags)
closeFlags
A close-option constant, or 0. Close options are:
X XMPConst.CLOSE_UPDATE_SAFELY Write into a temporary file then swap for
crash safety.
Closes this open file, after writing to it as necessary; that is, if the file was opened for update, and if
the XMP metadata was updated or injected. The options provided when the file was opened
determine whether this function reconciles the XMP with other forms of metadata; that is, whether
any legacy metadata is also updated to be consistent with the XMP metadata.
Returns
undefined.
getXMP()
XMPFileObj.getXMP()
Retrieves and parses the existing XMP metadata from this file. If the file format contains legacy
metadata in a format that is recognized by the File Handler, the function creates an XMP packet
containing the metadata.
Returns an XMPMeta object
, or null if the files does not contain XMP or convertible legacy
metadata.
getPacketInfo()
XMPFileObj.getPacketInfo()
Retrieves the raw XMP packet from this file, along with information about the packet. The options
with which the file was opened determine whether this function reconciles other forms of metadata
with the XMP.
Returns an XMPPacketInfo object
, or null if the files does not contain XMP metadata.
getFileInfo()
XMPFileObj.getFileInfo()
Retrieves basic information about this file.
Returns an XMPFileInfo object
.
putXMP()
XMPFileObj.putXMP(xmpObj)
XMPFileObj.putXMP(xmpPacket)
XMPFileObj.putXMP(xmpOBuffer)
xmpObj
The XMP metadata as an XMPMeta object.
xmpPacket
The XMP metadata as a String containing an XMP packet.
xmpBuffer
The XMP metadata as an Array of Number containing raw XMP packet data.
Supplies new XMP metadata for this file. The file is not actually written until closeFile()
is called. The
options provided when the file was opened determine whether that function reconciles the XMP
with other forms of metadata; that is, whether any legacy metadata is also updated to be consistent
with the XMP metadata.
Returns
undefined.
Vista de pagina 269
1 2 ... 265 266 267 268 269 270 271 272 273 274 275 ... 303 304

Comentarios a estos manuales

Sin comentarios