
## to_int() {#default}

Returns the property value as integer.


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

### Remarks

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



### See Also

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

