pages Collection

Retrieves a collection of page objects, which represent @page rules in a styleSheet.

Syntax

[ oColl = ] object.pages
[ oObject = ] object.pages(iIndex)

Possible Values

oColl Array of page objects.
oObjectReference to an individual item in the array of elements contained by the object.
iIndexRequired. 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.

Attributes/Properties
PropertyDescription
length Retrieves the number of objects in a collection.
Methods
MethodDescription
item Retrieves an object from the pages collection.
Objects
ObjectDescription
page Represents an @page rule within a styleSheet.
Prototypes
ObjectDescription
StyleSheetPageList Constructor New for Windows Internet Explorer 8  Defines the properties and methods inherited by objects in the StyleSheetPageList Constructor prototype chain.

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

styleSheet, CSSStyleSheet Constructor

See Also

Print Template Reference
Tags :


Page view tracker