setXMP

public final void setXMP(String value)

Sets the XMP metadata stream of the document. XMP (Extensible Metadata Platform) provides a standard format for embedding metadata in PDF documents. The XMP data is stored as XML and can contain a wide variety of metadata beyond the standard document information fields. When setting this property, ensure the value is valid XMP XML.

Parameters

value

The value to set for the XMP property.