get_float_value method
get_float_value
This method is used to get a float value in a specified unit. If this CSS value doesn’t contain a float value or can’t be converted into the specified unit, a DOMException is raised.
Returns
Returns value
def get_float_value(self, unit_type):
...
Parameter | Type | Description |
---|---|---|
unit_type | int | Type of the unit. |
See Also
- module
aspose.svg.dom.css
- class
CSSPrimitiveValue