CSSPrimitiveValue.SetStringValue
CSSPrimitiveValue.SetStringValue method
A method to set the string value with the specified unit. If the property attached to this value can’t accept the specified unit or the string value, the value will be unchanged and a DOMException will be raised.
public abstract void SetStringValue(ushort stringType, string stringValue)
Parameter | Type | Description |
---|---|---|
stringType | UInt16 | Type of the string. |
stringValue | String | The string value. |
See Also
- class CSSPrimitiveValue
- namespace Aspose.Html.Dom.Css
- assembly Aspose.HTML