EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificaciones Pagina 282

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 281
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 282
serialize()
XMPMetaObj.serialize([options, padding, indent, newline, baseIndent])
options
Optional. The set of options that control how the serialization is performed. The
options must be logically consistent; if they conflict, the function throws an
exception. A logical OR of these bit-flag constants:
XMPConst.SERIALIZE_OMIT_PACKET_WRAPPER — Do not include an XML
packet wrapper.
XMPConst.SERIALIZE_READ_ONLY_PACKET — Create a read-only XML packet
wrapper.
XMPConst.SERIALIZE_USE_COMPACT_FORMAT — Use a highly compact RDF
syntax and layout.
XMPConst.SERIALIZE_USE_PLAIN_XMP — Serialize a plain XMP (not currently
supported).
XMPConst.SERIALIZE_INCLUDE_THUMBNAIL_PAD — Include typical space for
a JPEG thumbnail in the padding if no
xmp:Thumbnail property is present.
XMPConst.SERIALIZE_EXACT_PACKET_LENGTH — Compute padding to meet
the overall packet length provided by the
padding parameter. Throws an
exception if the unpadded packet exceeds this length.
XMPConst.SERIALIZE_WRITE_ALIAS_COMMENTS — Include XML comments
for aliases.
padding
Optional, Number.
X If the options value is SERIALIZE_EXACT_PACKET_LENGTH, this the exact
length of the packet, including padding characters that are added to meet this
length.
X If the options value is not SERIALIZE_EXACT_PACKET_LENGTH, this is a
number of padding characters to add.
Default is 0, meaning to use the appropriate amount of padding.
indent
Optional, String. The string to use as an indent. Default is two spaces.
newline
Optional, String. The newline character to use. Default is U+000A.
baseIndent
Optional, Number. The level of indentation of the outermost XML element. Default
is 0.
Serializes this XMP metadata into a string as RDF.
Returns a String.
Vista de pagina 281
1 2 ... 277 278 279 280 281 282 283 284 285 286 287 ... 303 304

Comentarios a estos manuales

Sin comentarios