Interface IViewCSS

Interface IViewCSS

اسم الفضاء : Aspose.Html.Dom.Css مجموعة: Aspose.HTML.dll (25.4.0)

هذا الواجهة يمثل نظرة CSS.

[DOMNoInterfaceObject]
[ComVisible(true)]
[DOMObject]
public interface IViewCSS : IAbstractView

Implements

IAbstractView

Methods

GetComputedStyle(Element)

يتم استخدام هذه الطريقة للحصول على النمط المحاسب كما هو محدد في CSS2.

[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element)

Parameters

element Element

العنصر الذي ينبغي حسابه ، هذا المعلم لا يمكن أن يكون صفرًا.

Returns

ICSSStyleDeclaration

أسلوب الحوسبة

GetComputedStyle(العنصر، string)

يتم استخدام هذه الطريقة للحصول على النمط المحاسب كما هو محدد في CSS2.

[DOMName("getComputedStyle")]
ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)

Parameters

element Element

العنصر الذي ينبغي حسابه ، هذا المعلم لا يمكن أن يكون صفرًا.

pseudoElement string

العنصر المزعج .

Returns

ICSSStyleDeclaration

أسلوب الحوسبة

انظر أيضا

IAbstractView

 عربي