PageItems
The page items collection, which can be used to process all page items in a container (such as a document, page, or group), regardless of type.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Number count()
Displays the number of elements in the PageItem.
PageItem item( Mixed index )
Returns the PageItem with the specified index or name.
Parameters
PageItem itemByName( String name )
Returns the PageItem with the specified name.
Parameters
PageItem itemByID( Number id )
Returns the PageItem with the specified ID.
Parameters
PageItem itemByRange( Mixed from, Mixed to )
Returns the PageItems within the specified range.
Parameters
PageItem firstItem()
Returns the first PageItem in the collection.
PageItem lastItem()
Returns the last PageItem in the collection.
PageItem middleItem()
Returns the middle PageItem in the collection.
PageItem previousItem( PageItem obj )
Returns the PageItem with the index previous to the specified index.
Parameters
PageItem nextItem( PageItem obj )
Returns the PageItem whose index follows the specified PageItem in the collection.
Parameters
PageItem anyItem()
Returns any PageItem in the collection.
PageItem everyItem()
Returns every PageItem in the collection.
String toSource()
Generates a string which, if executed, will return the PageItem.
PageItem []( Number index )
Returns the PageItem with the specified index.