# xmp_metadata

### Methods

#### (inner) addMetadata(metadata, namespaceuri) → {jsPDF}

Source:
  - modules/xmp_metadata.js, line 60

Adds XMP formatted metadata to PDF

##### Parameters:

Name | Type | Description
--- | --- | ---
`metadata` | String | The actual metadata to be added. The metadata shall be stored as XMP simple value. Note that if the metadata string contains XML markup characters "<", ">" or "&", those characters should be written using XML entities.
`namespaceuri` | String | Sets the namespace URI for the metadata. Last character should be slash or hash.

##### Returns:

jsPDF-instance

Type
  jsPDF