---
title: "XmpData.Load Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_XmpData_Load_1_bb3a7a4f.htm
product: "Graphics Mill"
---

# XmpData.Load Method 
 
Creates an XMP tree based on the provided XML code.
 
**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 void Load(string xmp
)
```
 
### Parameters
 
 - xmp
     - Type: System.String
An XML code with the XMP data.
 
## Remarks
  
Typically you get the string with XMP data from a JPEG or TIFF reader class. After that you pass this string to this method. As soon as XMP data is loaded to the [XmpData](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpData.htm.md) class, you can easily get specific fields value.
 
If you edit XMP data (add, remove, or modify nodes) and want to save it back, use the [Save()](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_XmpData_Save.htm.md) method. It will return the XML string which you will be able to pass to the **Xmp** property of an appropriate writer.
   
## See Also

### Reference

- [XmpData Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_XmpData.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
