Interface IViewCSS
Interface IViewCSS
Namespace: Aspose.Html.Dom.Css
Assembly: Aspose.HTML.dll (25.1.0)
Bu arayüz, bir CSS görünümünü temsil eder.
[DOMNoInterfaceObject]
[DOMObject]
[ComVisible(true)]
public interface IViewCSS : IAbstractView
Uygulamalar
Yöntemler
GetComputedStyle(Element)
Bu yöntem, CSS2’de tanımlandığı gibi hesaplanan stili almak için kullanılır.
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element)
Parametreler
element
Element
Hesaplanacak stilin ait olduğu eleman. Bu parametre null olamaz.
Dönüş Değeri
Hesaplanan stil
GetComputedStyle(Element, string)
Bu yöntem, CSS2’de tanımlandığı gibi hesaplanan stili almak için kullanılır.
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)
Parametreler
element
Element
Hesaplanacak stilin ait olduğu eleman. Bu parametre null olamaz.
pseudoElement
string
Pseudo eleman.
Dönüş Değeri
Hesaplanan stil