
## to_bool() {#default}

Returns the property value as bool.


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

### Remarks

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




### See Also

* module [aspose.words.properties](../../)
* class [DocumentProperty](../)

