IMediaList.AppendMedium
IMediaList.AppendMedium method
Adds the medium newMedium to the end of the list. If the newMedium is already used, it is first removed.
public void AppendMedium(String newMedium)
Parameter | Type | Description |
---|---|---|
newMedium | String | The new medium to add. |
Exceptions
exception | condition |
---|---|
DOMException | INVALID_CHARACTER_ERR: If the medium contains characters that are invalid in the underlying style language.NO_MODIFICATION_ALLOWED_ERR: Raised if this list is readonly. |
See Also
- interface IMediaList
- package com.aspose.html.Dom.Css
- package Aspose.HTML