insert_rule method
insert_rule
Used to insert a new rule into the media block.
Returns
The inserted index.
def insert_rule(self, rule, index):
...
Parameter | Type | Description |
---|---|---|
rule | str | The media rule. |
index | int | The index. |
See Also
- module
aspose.svg.dom.css
- class
ICSSMediaRule