CSSPrimitiveValue.GetIntValue
CSSPrimitiveValue.GetIntValue method
This method is used to get an int value in a specified unit. If this CSS value doesn’t contain an int value or can’t be converted into the specified unit, a DOMException is raised.
public abstract int GetIntValue(ushort unitType)
Parameter | Type | Description |
---|---|---|
unitType | UInt16 | Type of the unit. |
Return Value
Returns value
See Also
- class CSSPrimitiveValue
- package com.aspose.html.Dom.Css
- package Aspose.HTML