Sections

A collection of sections.

Methods:

add, count

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Section add ([at:LocationOptions=LocationOptions], reference:Varies Section Document, withProperties:Object)

Create a new section.

Parameter

Type

Description

at

LocationOptions

LocationOptions.AFTER

LocationOptions.AT_BEGINNING

LocationOptions.AT_END

LocationOptions.BEFORE

LocationOptions.UNKNOWN

Location (Optional)

(default: LocationOptions.UNKNOWN)

reference

Section

Document

Before/after an existing object or at the beginning/end of a parent. Can accept: Section or Document. (Optional)

withProperties

Object

Initial values for properties of the new Section (Optional)

Number count ()

Displays the number of elements in the Section.

Object of

Document.sections