Adobe InDesign CS (3.0) Object Model JS: Sections

InDesign CS

Class

Sections

 A collection of sections.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Section add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])
Create a new section.

ParameterTypeDescription
atLocationOptions:
LocationOptions.BEFORE
LocationOptions.AFTER
LocationOptions.AT_END
LocationOptions.AT_BEGINNING
LocationOptions.UNKNOWN
Location (Optional) (default: LocationOptions.UNKNOWN)
referenceDocument
Section
Before/after an existing object or at the beginning/end of a parent. Can accept: Section or Document. (Optional)
withPropertiesObjectInitial values for properties of the new Section (Optional)

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

Element of

Document.sections

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