---
title: "QNameValue class"
url: "https://reference.aspose.com/page/python-net/aspose.page.xps.xpsmetadata/qnamevalue/"
product: "Aspose.Page for Python via .NET API Reference"
---


## QNameValue class

The class that incapsulates a QName value in a PrintTicket document.

**Inheritance:** `QNameValue` → [`Value`](/page/python-net/aspose.page.xps.xpsmetadata/value) → [`PrintTicketElement`](/page/python-net/aspose.page.xps.xpsmetadata/printticketelement)

The QNameValue type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
| `QNameValue(value)` | Initializes a new instance of the QNameValue class |
## Properties
| Name | Description |
| :- | :- |
| `name` | Gets the element name. |
| `value_string` | Gets the value as string. |

### See Also

* module [`aspose.page.xps.xpsmetadata`](/page/python-net/aspose.page.xps.xpsmetadata/)
* package [`aspose.page`](/page/python-net/)

