---
title: "XmpValue class"
url: "https://reference.aspose.com/page/python-net/aspose.page.eps.xmp/xmpvalue/"
product: "Aspose.Page for Python via .NET API Reference"
---


## XmpValue class

Represents XMP value



The XmpValue type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
| `XmpValue(value)` | Initializes a new instance of the XmpValue class |
| `XmpValue(value)` | Initializes a new instance of the XmpValue class |
| `XmpValue(value)` | Initializes a new instance of the XmpValue class |
| `XmpValue(value)` | Initializes a new instance of the XmpValue class |
| `XmpValue(array)` | Initializes a new instance of the XmpValue class |
## Properties
| Name | Description |
| :- | :- |
| `is_string` | Returns true if value is string. |
| `is_integer` | Returns true if value is integer. |
| `is_double` | Returns true if value is floating point value. |
| `is_date_time` | Returns true if value is DateTime. |
| `is_field` | Returns true if XmpValue is field. |
| `is_named_value` | Returns true if XmpValue is named value. |
| `is_raw` | Value is unsupported/unknown and raw XML code is provided. |
| `is_named_values` | Returns true is XmpValue represents named values. |
| `is_structure` | Returns true is XmpValue represents structure. |
| `is_array` | Returns true is XmpValue is array. |
## Methods
| Name | Description |
| :- | :- |
| `to_string_value()` | Converts to string. |
| `to_integer()` | Converts to integer. |
| `to_double()` | Converts to double. |
| `to_date_time()` | Converts to date time. |
| `to_array()` | Returns array. |
| `to_structure()` | Returns XMP value as structure (set of fields). |
| `to_field()` | Returns XMP value as XMP field. |

### See Also

* module [`aspose.page.eps.xmp`](/page/python-net/aspose.page.eps.xmp/)
* package [`aspose.page`](/page/python-net/)

