ICSSMediaRule.InsertRule
ICSSMediaRule.InsertRule method
The insertRule() method of the CSSGroupingRule interface adds a new CSS rule to a list of CSS rules.
public long InsertRule(String rule, long index)
Parameter | Type | Description |
---|---|---|
rule | String | The media rule as CSSOMString. |
index | Int64 | An optional index at which to insert the rule; defaults to 0. |
Return Value
The insertRule(rule, index) method returns the result of invoking insert a CSS rule rule into the child CSS rules at index.
See Also
- interface ICSSMediaRule
- package com.aspose.html.Dom.Css
- package Aspose.HTML