Interface IViewCSS
Interface IViewCSS
Numele spaţiului: Aspose.Svg.Dom.Css Adunare: Aspose.SVG.dll (25.5.0)
Această interfață reprezintă o viziune CSS.
[DOMObject]
[DOMNoInterfaceObject]
[ComVisible(true)]
public interface IViewCSS : IAbstractView
Implements
Methods
GetComputedStyle(Element)
Această metodă este utilizată pentru a obține stilul calculat așa cum este definit în CSS2.
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element)
Parameters
element
Element
Elementul a cărui stil trebuie calculat. acest parametru nu poate fi zero.
Returns
Stilul calculat
GetComputedStyle(Elementă, String)
Această metodă este utilizată pentru a obține stilul calculat așa cum este definit în CSS2.
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)
Parameters
element
Element
Elementul a cărui stil trebuie calculat. acest parametru nu poate fi zero.
pseudoElement
string
şi elementul pseudo.
Returns
Stilul calculat