共用方式為


IHTMLStyleSheetPagesCollection interface

This interface enables you to obtain the number of page objects in a styleSheet object and to access a single page in the collection.

Members

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

  • Methods
  • Properties

Methods

The IHTMLStyleSheetPagesCollection interface has these methods.

Method Description
item (pages)

Retrieves an object from the pages collection.

 

Properties

The IHTMLStyleSheetPagesCollection interface has these properties.

Property Description

length

Sets or retrieves the number of objects in a collection.

 

Remarks

Each page corresponds to an @page rule in a styleSheet.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch