set_float_value method
set_float_value
A method to set the float value with a specified unit. If the property attached with this value can not accept the specified unit or the float value, the value will be unchanged and a DOMException will be raised.
def set_float_value(self, unit_type, float_value):
...
| Parameter | Type | Description |
|---|---|---|
| unit_type | int | Type of the unit. |
| float_value | float | The float value. |
See Also
- module
aspose.svg.dom.css - class
CSSPrimitiveValue