set_int_value method

set_int_value

A method to set the int value with a specified unit. If the property attached with this value can not accept the specified unit or the int value, the value will be unchanged and a DOMException will be raised.

def set_int_value(self, unit_type, int_value):
    ...
ParameterTypeDescription
unit_typeintType of the unit.
int_valueintThe int value.

See Also