ICSSStyleDeclaration.SetProperty
Contents
[
Hide
]SetProperty(string, string)
The CSSStyleDeclaration.setProperty() method interface is used to set a property value with default priority within this declaration block. Default priority is not “important” i.e. String.Empty
public void SetProperty(string propertyName, string value)
Parameter | Type | Description |
---|---|---|
propertyName | String | A string representing the CSS property name (hyphen case) to be modified. |
value | String | A string containing the new property value. If not specified, treated as the empty string. |
See Also
- interface ICSSStyleDeclaration
- namespace Aspose.Html.Dom.Css
- assembly Aspose.HTML
SetProperty(string, string, string)
The CSSStyleDeclaration.setProperty() method interface is used to set a property value with default priority within this declaration block. Default priority is not “important” i.e. String.Empty
public void SetProperty(string propertyName, string value, string priority)
Parameter | Type | Description |
---|---|---|
propertyName | String | A string representing the CSS property name (hyphen case) to be modified. |
value | String | A string containing the new property value. If not specified, treated as the empty string. |
priority | String | A string allowing the “important” CSS priority to be set. If not specified, treated as the empty string. The following values are accepted: string value “important”, keyword undefined or string empty value "" |
See Also
- interface ICSSStyleDeclaration
- namespace Aspose.Html.Dom.Css
- assembly Aspose.HTML