IViewCSS.GetComputedStyle
Contents
[
Hide
]GetComputedStyle(Element)
This method is used to get the computed style as it is defined in CSS2.
public ICSSStyleDeclaration GetComputedStyle(Element element)
Parameter | Type | Description |
---|---|---|
element | Element | The element whose style is to be computed. This parameter cannot be null. |
Return Value
The computed style
See Also
- interface ICSSStyleDeclaration
- class Element
- interface IViewCSS
- namespace Aspose.Svg.Dom.Css
- assembly Aspose.SVG
GetComputedStyle(Element, string)
This method is used to get the computed style as it is defined in CSS2.
public ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)
Parameter | Type | Description |
---|---|---|
element | Element | The element whose style is to be computed. This parameter cannot be null. |
pseudoElement | String | The pseudo element. |
Return Value
The computed style
See Also
- interface ICSSStyleDeclaration
- class Element
- interface IViewCSS
- namespace Aspose.Svg.Dom.Css
- assembly Aspose.SVG