Adobe InDesign CS (3.0) Object Model JS: Groups

InDesign CS

Class

Groups

 A collection of groups.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Group add (groupItems: Array of PageItem[, layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])
Create a new Group

ParameterTypeDescription
groupItems Array of PageItemA list of page items to group
layerLayerThe layer on which to create the Group (Optional)
atLocationOptions:
LocationOptions.BEFORE
LocationOptions.AFTER
LocationOptions.AT_END
LocationOptions.AT_BEGINNING
LocationOptions.UNKNOWN
Location (Optional) (default: LocationOptions.UNKNOWN)
referenceDocument
Layer
MasterSpread
Page
Spread
Before/after this Group or at the beginning/end of this Document, Spread, Master Spread, Page or Layer. Can accept: Document, Spread, MasterSpread, Page or Layer. (Optional)
withPropertiesObjectInitial values for properties of the new Group (Optional)

number count ()
Displays the number of elements in the Group.

Element of

Button.groups

Cell.groups

Character.groups

Document.groups

GraphicLine.groups

Group.groups

InsertionPoint.groups

Layer.groups

Line.groups

MasterSpread.groups

Oval.groups

Page.groups

PageItem.groups

Paragraph.groups

Polygon.groups

Rectangle.groups

Spread.groups

State.groups

Story.groups

Table.groups

Text.groups

TextColumn.groups

TextFrame.groups

TextStyleRange.groups

Word.groups

Jongware, 27-Jun-2010 v3.0.3dContents :: Index