Interface IViewCSS

Interface IViewCSS

Tên không gian: Aspose.Html.Dom.Css Tổng hợp: Aspose.HTML.dll (25.4.0)

Giao diện này đại diện cho một cái nhìn CSS.

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

Implements

IAbstractView

Methods

GetComputedStyle(Element)

Phương pháp này được sử dụng để có được phong cách tính toán như nó được xác định trong CSS2.

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

Parameters

element Element

Các yếu tố có phong cách phải được tính toán. thông số này không thể là không.

Returns

ICSSStyleDeclaration

Phong cách tính toán

GetComputedStyle(Nhóm, string)

Phương pháp này được sử dụng để có được phong cách tính toán như nó được xác định trong CSS2.

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

Parameters

element Element

Các yếu tố có phong cách phải được tính toán. thông số này không thể là không.

pseudoElement string

Các yếu tố pseudo

Returns

ICSSStyleDeclaration

Phong cách tính toán

Xem thêm

IAbstractView

 Tiếng Việt