---
title: "PdfWriter.Metadata Property "
canonical: https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_PdfWriter_Metadata.htm
product: "Graphics Mill"
---

# PdfWriter.Metadata Property 
 
Gets or sets the XML code containing the XMP metadata to write into the image.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public string Metadata { get; set; }
```
 
### Property Value
A XML code containing the XMP metadata to write into the image.
 
## Remarks
  
To get specific values of the XMP fields, you can either use the [XmpData](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpData.htm.md) class or parse this XML manually according to the [XMP specification](http://partners.adobe.com/public/developer/en/xmp/sdk/XMPspecification.pdf).
   
## See Also

### Reference

- [PdfWriter Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_PdfWriter.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)

### Manual

- [Preserving Metadata while Processing Images](https://www.graphicsmill.com/docs/gm/preserving-metadata-while-processing-images.htm.md)
