---
title: "Class XmpBoolean"
url: "https://reference.aspose.com/imaging/net/aspose.imaging.xmp.types.basic/xmpboolean/"
product: "Aspose.Imaging for .NET API Reference"
description: "Aspose.Imaging.Xmp.Types.Basic.XmpBoolean class. Represents XMP Boolean basic type"
---

## XmpBoolean class

Represents XMP Boolean basic type.

```csharp
public sealed class XmpBoolean : XmpTypeBase
```

## Constructors

| Name | Description |
| --- | --- |
| [XmpBoolean](xmpboolean/#constructor)() | Initializes a new instance of the `XmpBoolean` class with default value. |
| [XmpBoolean](xmpboolean/#constructor_1)(bool) | Initializes a new instance of the `XmpBoolean` class based on boolean value. |
| [XmpBoolean](xmpboolean/#constructor_2)(string) | Initializes a new instance of the `XmpBoolean` class. |

## Properties

| Name | Description |
| --- | --- |
| [Value](../../aspose.imaging.xmp.types.basic/xmpboolean/value/) { get; set; } | Gets or sets a value indicating whether this `XmpBoolean` is value. |

## Methods

| Name | Description |
| --- | --- |
| virtual [Clone](../../aspose.imaging.xmp.types/xmptypebase/clone/)() | Clones this instance. |
| override [GetXmpRepresentation](../../aspose.imaging.xmp.types.basic/xmpboolean/getxmprepresentation/)() | Returns string contained value in XMP format. |
| override [ToString](../../aspose.imaging.xmp.types/xmptypebase/tostring/)() | Gets this XMP data as string. |

### See Also

* class [XmpTypeBase](../../aspose.imaging.xmp.types/xmptypebase/)
* namespace [Aspose.Imaging.Xmp.Types.Basic](../../aspose.imaging.xmp.types.basic/)
* assembly [Aspose.Imaging](../../)


