Retrieves a collection of page objects, which represent @page rules in a styleSheet.
Syntax
| [ oColl
= ]
styleSheet.pages |
| [ oObject = ]
styleSheet.pages(iIndex) |
Possible Values
| oColl | Array of page objects. |
| oObject | Reference to an individual item in the array of elements contained by the object. |
| iIndex | Required. Integer that specifies the zero-based index of the item to be returned. |
Members Table
The following table lists the members exposed by the
pages
object. Click a tab on the left to choose the type of member you want to view.
Attributes/Properties
| Property | Description |
|---|
| length |
Retrieves the number of objects in a collection. |
Methods
| Method | Description |
|---|
| item |
Retrieves an object from the pages collection. |
Objects
| Object | Description |
|---|
| page |
Represents an @page rule within a styleSheet. |
Remarks
Although this collection is represented in the Cascading Style Sheets (CSS) object model in Microsoft® Internet Explorer 5.5 and later, @page rules are not represented in the default print template for Internet Explorer. The rules can be used by print templates developed for applications that host MSHTML.
Standards Information
There is no public standard that applies to this collection.
Applies To
See Also
Print Templates