IStyleSheet.Media
IStyleSheet.Media property
The media property of the StyleSheet
interface specifies the intended destination media for style information. It is a read-only, array-like MediaList
object and can be removed with deleteMedium() and added with appendMedium().
public IMediaList Media { get; }
Property Value
The media attribute must return the MediaList
object associated with the CSS style sheet.
Remarks
CSSOM defines APIs (including generic parsing and serialization rules) for Media Queries, Selectors, and of course CSS itself.
Reference
CSS Working Group - The CSS Working Group is the W3C working group chartered to develop Cascading Style Sheets (CSS).CSS Object Model (CSSOM) - CSSOM defines APIs (including generic parsing and serialization rules) for Media Queries, Selectors, and of course CSS itself.CSS Object Model (CSSOM) # dom-stylesheet-media – The CSSOM definition.
See Also
- interface IMediaList
- interface IStyleSheet
- package com.aspose.html.Dom.Css
- package Aspose.HTML