---
title: "XmpBoolean class"
url: "https://reference.aspose.com/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean/"
product: "Aspose.CAD for Python via .NET API References"
---


## XmpBoolean class

Represents XMP Boolean basic type.



**Inheritance:** [`XmpBoolean`](/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean) → 
[`XmpTypeBase`](/cad/python-net/aspose.cad.xmp.types/xmptypebase)



The XmpBoolean type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean/__init__/#bool) | Initializes a new instance of the [`XmpBoolean`](/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean) class based on boolean value. |
| [__init__](/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean/__init__/#) | Initializes a new instance of the [`XmpBoolean`](/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean) class with default value. |
| [__init__](/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean/__init__/#str) | Initializes a new instance of the [`XmpBoolean`](/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean) class. |


### Properties
| Property | Description |
| :- | :- |
| [value](/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean/value) | Gets or sets a value indicating whether this [`XmpBoolean`](/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean) is value. |


### Methods
| Method | Description |
| :- | :- |
| [get_xmp_representation](/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean/get_xmp_representation/#) | Returns string contained value in XMP format. |



### See Also
* module [`aspose.cad.xmp.types.basic`](..)
* class [`XmpBoolean`](/cad/python-net/aspose.cad.xmp.types.basic/xmpboolean)
* class [`XmpTypeBase`](/cad/python-net/aspose.cad.xmp.types/xmptypebase)
