Table of Contents

Method AppendMedium

Namespace
SharpVectors.Dom.Stylesheets
Assembly
SharpVectors.Core.dll

AppendMedium(string)

Adds the medium newMedium to the end of the list. If the newMedium is already used, it is first removed.

void AppendMedium(string newMedium)

Parameters

newMedium string

The new medium to add.

Exceptions

DomException

INVALID_CHARACTER_ERR: If the medium contains characters that are invalid in the underlying style language.

DomException

NO_MODIFICATION_ALLOWED_ERR: Raised if this list is readonly