IViewCSS.GetComputedStyle
İçindekiler
[
Saklamak
]GetComputedStyle(Element)
Bu yöntem, CSS2. ‘de tanımlandığı şekliyle hesaplanan stili elde etmek için kullanılır.
public ICSSStyleDeclaration GetComputedStyle(Element element)
| Parametre | Tip | Tanım |
|---|---|---|
| element | Element | Stili hesaplanacak öğe. Bu parametre null olamaz. |
Geri dönüş değeri
hesaplanan stil
Ayrıca bakınız
- interface ICSSStyleDeclaration
- class Element
- interface IViewCSS
- ad alanı Aspose.Html.Dom.Css
- toplantı Aspose.HTML
GetComputedStyle(Element, string)
Bu yöntem, CSS2. ‘de tanımlandığı şekliyle hesaplanan stili elde etmek için kullanılır.
public ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)
| Parametre | Tip | Tanım |
|---|---|---|
| element | Element | Stili hesaplanacak öğe. Bu parametre null olamaz. |
| pseudoElement | String | Sözde eleman. |
Geri dönüş değeri
hesaplanan stil
Ayrıca bakınız
- interface ICSSStyleDeclaration
- class Element
- interface IViewCSS
- ad alanı Aspose.Html.Dom.Css
- toplantı Aspose.HTML