Interface IViewCSS

Interface IViewCSS

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

Interfejs ten reprezentuje widok CSS.

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

Implementuje

IAbstractView

Metody

GetComputedStyle(Element)

Ta metoda służy do uzyskania obliczonego stylu, jak zdefiniowano w CSS2.

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

Parametry

element Element

Element, którego styl ma być obliczony. Ten parametr nie może być null.

Zwraca

ICSSStyleDeclaration

Obliczony styl

GetComputedStyle(Element, string)

Ta metoda służy do uzyskania obliczonego stylu, jak zdefiniowano w CSS2.

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

Parametry

element Element

Element, którego styl ma być obliczony. Ten parametr nie może być null.

pseudoElement string

Pseudo element.

Zwraca

ICSSStyleDeclaration

Obliczony styl

Zobacz także

IAbstractView

 Polski