set_string_value method
set_string_value
A method to set the string value with the specified unit. If the property attached to this value can’t accept the specified unit or the string value, the value will be unchanged and a DOMException will be raised.
def set_string_value(self, string_type, string_value):
...
Parameter | Type | Description |
---|---|---|
string_type | int | Type of the string. |
string_value | str | The string value. |
See Also
- module
aspose.html.dom.css
- class
CSSPrimitiveValue