Interface IViewCSS
Interface IViewCSS
Namespace: Aspose.Html.Dom.Css
Assembly: Aspose.HTML.dll (25.1.0)
ממשק זה מייצג תצוגת CSS.
[DOMNoInterfaceObject]
[DOMObject]
[ComVisible(true)]
public interface IViewCSS : IAbstractView
מימושים
שיטות
GetComputedStyle(Element)
שיטה זו משמשת כדי להשיג את הסגנון המחשב כפי שהוא מוגדר ב-CSS2.
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element)
פרמטרים
element
Element
האלמנט שלגביו הסגנון ייחשב. פרמטר זה לא יכול להיות null.
מחזיר
הסגנון המחשב
GetComputedStyle(Element, string)
שיטה זו משמשת כדי להשיג את הסגנון המחשב כפי שהוא מוגדר ב-CSS2.
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)
פרמטרים
element
Element
האלמנט שלגביו הסגנון ייחשב. פרמטר זה לא יכול להיות null.
pseudoElement
string
האלמנט הפסאודו.
מחזיר
הסגנון המחשב