
## to_bool(self) {#}

Returns the property value as bool.



```python

def to_bool(self):
    ...
```


### Remarks

Throws an exception if the property type is not PropertyType.Boolean.


### See Also
* module [`aspose.cells.properties`](../../)
* class [`DocumentProperty`](/cells/python-net/aspose.cells.properties/documentproperty)
