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
สไตล์คอมพิวเตอร์