GMImage.SetXMP
--------------

Sets the XMP data.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [6.3](newinversion63.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.SetXMP"; ImageRef; XMP ) 

**MBS**( **"GMImage.SetXMP";** /\* Sets the XMP data. \*/  
**$ImageRef**; /\* The image reference number.e.g. 1 \*/   
**$XMP**) /\* The XML text to save to file. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |
| XMP | The XML text to save to file. |  |

### Result

Returns OK or error.

### Description

Sets the XMP data.  
### See also

- [GMImage.GetXMP](GMImageGetXMP.md)
- [GMImage.GetZPL](GMImageGetZPL.md)
- [GMImage.SetFont](GMImageSetFont.md)
- [GMImage.SetPage](GMImageSetPage.md)
- [GMImage.SetSize](GMImageSetSize.md)
- [GMImage.SetType](GMImageSetType.md)
- [GMImage.SetView](GMImageSetView.md)
- [GMImage.Stereo](GMImageStereo.md)

### Blog Entries

- [MBS FileMaker Plugin 6.3 for OS X/Windows](https://www.mbsplugins.de/archive/2016-07-12/MBS_FileMaker_Plugin_63_for_OS/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 6.3pr2](https://www.mbsplugins.de/archive/2016-06-10/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 8th June 2016 , last changed 8th June 2016

  
[GMImage.SetView](GMImageSetView.md) - [GMImage.Shade](GMImageShade.md)

[HTML Version](GMImageSetXMP.shtml)