Adobe InDesign CS (3.0) Object Model JS: Buttons

InDesign CS

Class

Buttons

 A collection of buttons.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Button add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])
Create a new Button

ParameterTypeDescription
layerLayerThe layer on which to create the Button. (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 Button 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 Button (Optional)

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

Element of

Cell.buttons

Character.buttons

Document.buttons

Group.buttons

InsertionPoint.buttons

Layer.buttons

Line.buttons

MasterSpread.buttons

Page.buttons

Paragraph.buttons

Spread.buttons

Story.buttons

Table.buttons

Text.buttons

TextColumn.buttons

TextFrame.buttons

TextStyleRange.buttons

Word.buttons

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