Table of Contents

Class MediaType

Namespace
iText.StyledXmlParser.Css.Media
Assembly
itext.styledxmlparser.dll

Class that bundles all the media types and allows you to registered valid media types in a .

public sealed class MediaType
Inheritance
MediaType
Inherited Members

Fields

ALL

The Constant ALL.

public static readonly string ALL

Field Value

string

AURAL

The Constant AURAL.

public static readonly string AURAL

Field Value

string

BRAILLE

The Constant BRAILLE.

public static readonly string BRAILLE

Field Value

string

EMBOSSED

The Constant EMBOSSED.

public static readonly string EMBOSSED

Field Value

string

HANDHELD

The Constant HANDHELD.

public static readonly string HANDHELD

Field Value

string

PRINT

The Constant PRINT.

public static readonly string PRINT

Field Value

string

PROJECTION

The Constant PROJECTION.

public static readonly string PROJECTION

Field Value

string

SCREEN

The Constant SCREEN.

public static readonly string SCREEN

Field Value

string

SPEECH

The Constant SPEECH.

public static readonly string SPEECH

Field Value

string

TTY

The Constant TTY.

public static readonly string TTY

Field Value

string

TV

The Constant TV.

public static readonly string TV

Field Value

string

Methods

IsValidMediaType(string)

Checks if a media type is registered as a valid media type.

public static bool IsValidMediaType(string mediaType)

Parameters

mediaType string

the media type

Returns

bool

true, if it's a valid media type