Interface IViewCSS

Interface IViewCSS

Nazwa przestrzeń: Aspose.Html.Dom.Css Zestaw: Aspose.HTML.dll (25.4.0)

Ten interfejs reprezentuje widok CSS.

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

Implements

IAbstractView

Methods

GetComputedStyle(Element)

Metoda ta jest używana do uzyskania komputowanego stylu, jak to jest zdefiniowane w CSS2.

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

Parameters

element Element

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

Returns

ICSSStyleDeclaration

Styl komputerowy

GetComputedStyle(element, strumień)

Metoda ta jest używana do uzyskania komputowanego stylu, jak to jest zdefiniowane w CSS2.

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

Parameters

element Element

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

pseudoElement string

Jest to element pseudo.

Returns

ICSSStyleDeclaration

Styl komputerowy

Zobacz również

IAbstractView

 Polski