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)
Parameter | Type | Description |
---|---|---|
unitType | UInt16 | Type of the unit. |
intValue | Int32 | The int value. |
See Also
- class CSSPrimitiveValue
- namespace Aspose.Html.Dom.Css
- assembly Aspose.HTML