Interface IViewCSS
Interface IViewCSS
名称: Aspose.Html.Dom.Css 编辑: Aspose.HTML.dll (25.4.0)
这个界面代表一个CSS视图。
[DOMNoInterfaceObject]
[ComVisible(true)]
[DOMObject]
public interface IViewCSS : IAbstractView
Implements
Methods
GetComputedStyle(Element)
这个方法是用来获得计算的风格,如它在CSS2中定义。
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element)
Parameters
element
Element
该元素的风格要计算,这个参数不能为零。
Returns
计算风格
GetComputedStyle(元素, string)
这个方法是用来获得计算的风格,如它在CSS2中定义。
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)
Parameters
element
Element
该元素的风格要计算,这个参数不能为零。
pseudoElement
string
这个 pseudo 元素
Returns
计算风格