Groups
A collection of groups.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Number count()
Displays the number of elements in the Group.
Group add( PageItem groupItems, Layer layer, LocationOptions at, Mixed reference, Object withProperties )
Creates a new Group.
Parameters
Type Name Description 
Group item( Mixed index )
Returns the Group with the specified index or name.
Parameters
Type Name Description 
Group itemByName( String name )
Returns the Group with the specified name.
Parameters
Type Name Description 
Group itemByID( Number id )
Returns the Group with the specified ID.
Parameters
Type Name Description 
Group itemByRange( Mixed from, Mixed to )
Returns the Groups within the specified range.
Parameters
Type Name Description 
Group firstItem()
Returns the first Group in the collection.
Group lastItem()
Returns the last Group in the collection.
Group middleItem()
Returns the middle Group in the collection.
Group previousItem( Group obj )
Returns the Group with the index previous to the specified index.
Parameters
Type Name Description 
Group nextItem( Group obj )
Returns the Group whose index follows the specified Group in the collection.
Parameters
Type Name Description 
Group anyItem()
Returns any Group in the collection.
Group everyItem()
Returns every Group in the collection.
String toSource()
Generates a string which, if executed, will return the Group.
Group []( Number index )
Returns the Group with the specified index.
Parameters
Type Name Description