Freigeben über


IHTMLStyleSheet2 interface

This interface provides access to an object that represents a single style sheet in the document.

Members

The IHTMLStyleSheet2 interface inherits from the IDispatch interface. IHTMLStyleSheet2 also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLStyleSheet2 interface has these methods.

Method Description
addPageRule

Not implemented. Creates a new page object for a style sheet.

 

Properties

The IHTMLStyleSheet2 interface has these properties.

Property Description

pages

Retrieves a collection of page objects representing the style sheets that correspond to @page rules in the document.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

IHTMLStyleSheet