IMediaList.DeleteMedium
IMediaList.DeleteMedium method
Deletes the medium indicated by oldMedium from the list.
public void DeleteMedium(String oldMedium)
| Parameter | Type | Description |
|---|---|---|
| oldMedium | String | The medium to delete in the media list. |
Exceptions
| exception | condition |
|---|---|
| DOMException | NO_MODIFICATION_ALLOWED_ERR: Raised if this list is readonly.NOT_FOUND_ERR: Raised if oldMedium is not in the list. |
See Also
- interface IMediaList
- package com.aspose.html.dom.css
- package Aspose.HTML