IViewCSS Interface
IViewCSS interface
The IViewCSS interface represents an extension to the Window object that give an access to the values of all CSS properties of an element.
The CSS Style for a given element can be obtained using the IViewCSS.GetComputedStyle() method.
public interface IViewCSS : IAbstractView
Methods
Name | Description |
---|---|
GetComputedStyle(Element) | The IViewCSS.getComputedStyle() method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain. |
GetComputedStyle(Element, string) | The IViewCSS.getComputedStyle() method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain. |
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.
See Also
- interface IAbstractView
- namespace Aspose.Html.Dom.Css
- assembly Aspose.HTML