
## get_value {#}

Gets the unit value.


### Returns 


The object value.


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




## get_value {#aspose.html.drawing.UnitType}

Gets the value converted to the specified [`UnitType`](/html/python-net/aspose.html.drawing/unittype).


### Returns 


Returns value that is converted to specified type.


```python
def get_value(self, unit_type):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| unit_type | [`UnitType`](/html/python-net/aspose.html.drawing/unittype) | Type of the unit. |
### Exceptions
| Exception | Description |
| :- | :- |
| ArgumentNullException | unitType |





### See Also
* module [`aspose.html.drawing`](../../)
* class [`Resolution`](/html/python-net/aspose.html.drawing/resolution)
* class [`UnitType`](/html/python-net/aspose.html.drawing/unittype)
