## DocumentProperty::ToInt method


Returns the property value as integer.

```cpp
int32_t Aspose::Cells::Properties::DocumentProperty::ToInt()
```

## Remarks


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

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