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
العنصر الذي سيتم حساب نمطه. لا يمكن أن تكون هذه المعلمة فارغة.
العائدات
النمط المحسوب
GetComputedStyle(Element, string)
تُستخدم هذه الطريقة للحصول على النمط المحسوب كما هو معرف في CSS2.
[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)
المعلمات
element
Element
العنصر الذي سيتم حساب نمطه. لا يمكن أن تكون هذه المعلمة فارغة.
pseudoElement
string
العنصر الزائف.
العائدات
النمط المحسوب