pages Collection

Internet Development Index

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

Syntax

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

Possible Values

oCollArray 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

PropertyDescription
length Retrieves the number of objects in a collection.
MethodDescription
item Retrieves an object from the pages collection.
ObjectDescription
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

styleSheet

See Also

Print Templates