| IViewCSSGetComputedStyle Method (Element, String) |
This method is used to get the computed style as it is defined in CSS2.
Namespace: Aspose.Svg.Dom.CssAssembly: Aspose.SVG (in Aspose.SVG.dll) Version: 20.2
SyntaxICSSStyleDeclaration GetComputedStyle(
Element element,
string pseudoElement
)
Function GetComputedStyle (
element As Element,
pseudoElement As String
) As ICSSStyleDeclaration
ICSSStyleDeclaration^ GetComputedStyle(
Element^ element,
String^ pseudoElement
)
abstract GetComputedStyle :
element : Element *
pseudoElement : string -> ICSSStyleDeclaration
Parameters
- element
- Type: Aspose.Svg.DomElement
The element whose style is to be computed. This parameter cannot be null. - pseudoElement
- Type: SystemString
The pseudo element.
Return Value
Type:
ICSSStyleDeclarationThe computed style
See Also