CSSPrimitiveValue.SetFloatValue
CSSPrimitiveValue.SetFloatValue method
A method to set the float value with a specified unit. If the property attached with this value can not accept the specified unit or the float value, the value will be unchanged and a DOMException will be raised.
public abstract void SetFloatValue(ushort unitType, float floatValue)
| Parameter | Type | Description |
|---|---|---|
| unitType | UInt16 | Type of the unit. |
| floatValue | Single | The float value. |
See Also
- class CSSPrimitiveValue
- namespace Aspose.Html.Dom.Css
- assembly Aspose.HTML