Interface IViewCSS

Interface IViewCSS

Namespace: Aspose.Html.Dom.Css
Assembly: Aspose.HTML.dll (25.2.0)

This interface represents a CSS view.

[ComVisible(true)]
[DOMObject]
[DOMNoInterfaceObject]
public interface IViewCSS : IAbstractView

Implements

IAbstractView

Methods

GetComputedStyle(Element)

This method is used to get the computed style as it is defined in CSS2.

[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element)

Parameters

element Element

The element whose style is to be computed. This parameter cannot be null.

Returns

ICSSStyleDeclaration

The computed style

GetComputedStyle(Element, string)

This method is used to get the computed style as it is defined in CSS2.

[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)

Parameters

element Element

The element whose style is to be computed. This parameter cannot be null.

pseudoElement string

The pseudo element.

Returns

ICSSStyleDeclaration

The computed style

See Also

IAbstractView