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
AURAL
The Constant AURAL.
public static readonly string AURAL
Field Value
BRAILLE
The Constant BRAILLE.
public static readonly string BRAILLE
Field Value
EMBOSSED
The Constant EMBOSSED.
public static readonly string EMBOSSED
Field Value
HANDHELD
The Constant HANDHELD.
public static readonly string HANDHELD
Field Value
The Constant PRINT.
public static readonly string PRINT
Field Value
PROJECTION
The Constant PROJECTION.
public static readonly string PROJECTION
Field Value
SCREEN
The Constant SCREEN.
public static readonly string SCREEN
Field Value
SPEECH
The Constant SPEECH.
public static readonly string SPEECH
Field Value
TTY
The Constant TTY.
public static readonly string TTY
Field Value
TV
The Constant TV.
public static readonly string TV
Field Value
Methods
IsValidMediaType(string)
Checks if a media type is registered as a valid media type.
public static bool IsValidMediaType(string mediaType)
Parameters
mediaType
stringthe media type
Returns
- bool
true, if it's a valid media type