com.aspose.html.dom.css

Interface IViewCSS

    • Method Detail

      • getComputedStyle

        ICSSStyleDeclaration getComputedStyle(Element element)

        This method is used to get the computed style as it is defined in CSS2.

        Parameters:
        element - The element whose style is to be computed. This parameter cannot be null.
        Returns:
        The computed style
      • getComputedStyle

        ICSSStyleDeclaration getComputedStyle(Element element,
                                              String pseudoElement)

        This method is used to get the computed style as it is defined in CSS2.

        Parameters:
        element - The element whose style is to be computed. This parameter cannot be null.
        pseudoElement - The pseudo element.
        Returns:
        The computed style