## DocumentProperty::ToBool method


Returns the property value as bool.

```cpp
bool Aspose::Cells::Properties::DocumentProperty::ToBool()
```

## Remarks


Throws an exception if the property type is not [PropertyType.Boolean](../../propertytype/).
## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [DocumentProperty](../)
* Namespace [Aspose::Cells::Properties](../../)
* Library [Aspose.Cells for C++](../../../)
