Interface IViewCSS
Interface IViewCSS
Namespace: Aspose.Html.Dom.Css
Assembly: Aspose.HTML.dll (25.1.0)
Tento rozhraní představuje CSS pohled.
[DOMNoInterfaceObject]
[DOMObject]
[ComVisible(true)]
public interface IViewCSS : IAbstractView
Implementuje
Metody
GetComputedStyle(Element)
Tato metoda se používá k získání vypočítaného stylu, jak je definován v CSS2.
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element)
Parametry
element
Element
Element, jehož styl má být vypočítán. Tento parametr nemůže být null.
Vrací
Vypočítaný styl
GetComputedStyle(Element, string)
Tato metoda se používá k získání vypočítaného stylu, jak je definován v CSS2.
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)
Parametry
element
Element
Element, jehož styl má být vypočítán. Tento parametr nemůže být null.
pseudoElement
string
Pseudoelement.
Vrací
Vypočítaný styl