insert_rule method
insert_rule
Used to insert a new rule into the style sheet. The new rule now becomes part of the cascade.
Returns
The inserted index
def insert_rule(self, rule, index):
...
| Parameter | Type | Description |
|---|---|---|
| rule | str | The style rule. |
| index | int | The rule index. |
See Also
- module
aspose.svg.dom.css - class
ICSSStyleSheet