Adobe InDesign CS (3.0) Object Model JS: Section

InDesign CS

Class

Section

 A section.

QuickLinks

extractLabel, insertLabel, remove

Hierarchy

Document
Section

Properties

PropertyTypeAccessDescription
continueNumberingbool r/wIf true, continues page numbers sequentially from the previous section.
idnumber readonlyThe unique ID of the Section.
includeSectionPrefixbool r/wIf true, places the specified prefix before page numbers on all pages in the section.
indexnumber readonlyThe index of the Section within its containing object.
labelstring r/wA property that can be set to any string.
lengthnumber readonlyThe number of pages in the section.
markerstring r/wThe section marker.
namestring r/wThe name of the Section.
pageNumberStartnumber r/wThe number at which to start numbering pages. Note: Valid only when continue numbering is false.
pageNumberStylePageNumberStyleString r/wThe page number style. Can return: PageNumberStyle enumerator or String.
pageStartPage r/wThe start page for the section.
parentDocument readonlyThe parent of the Section (a Document).
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

string extractLabel (key: string)
Gets the label value associated with the specified key.

ParameterTypeDescription
keystringThe key.

void insertLabel (key: string, value: string)
Sets the label to the value associated with the specified key.

ParameterTypeDescription
keystringThe key.
valuestringThe value.

void remove ()
Deletes the Section.

Element of

Page.appliedSection

Used in:

Section Sections.add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

Return

Section Sections.add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])

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