CSSPrimitiveValue.SetIntValue

CSSPrimitiveValue.SetIntValue method

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.

public abstract void SetIntValue(ushort unitType, int intValue)
ParameterTypeDescription
unitTypeUInt16Type of the unit.
intValueInt32The int value.

See Also