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
Implements
Methods
GetComputedStyle(Element)
วิธีนี้ใช้เพื่อรับสไตล์ที่คำนวณแล้วตามที่กำหนดใน CSS2
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element)
Parameters
element
Element
องค์ประกอบที่ต้องคำนวณสไตล์ นี่คือพารามิเตอร์ที่ไม่สามารถเป็น null ได้
Returns
สไตล์ที่คำนวณแล้ว
GetComputedStyle(Element, string)
วิธีนี้ใช้เพื่อรับสไตล์ที่คำนวณแล้วตามที่กำหนดใน CSS2
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)
Parameters
element
Element
องค์ประกอบที่ต้องคำนวณสไตล์ นี่คือพารามิเตอร์ที่ไม่สามารถเป็น null ได้
pseudoElement
string
องค์ประกอบพิเศษ
Returns
สไตล์ที่คำนวณแล้ว