Paragraphs

A collection of Paragraphs.

Methods:

add, addBefore, getByName, removeAll

Property Listing

Property

Type

Access

Description

length

Int

readonly

Number of elements in the collection.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

TextRange add (contents:String)

Create a text art item.

Parameter

Type

Description

contents

String

The text string.

TextRange addBefore (contents:String)

Parameter

Type

Description

contents

String

The text string.

TextRange getByName (name:String)

Get the first element in the collection with the provided name.

Parameter

Type

Description

name

String

 

undefined removeAll ()

Deletes all elements.

Object of

Story.paragraphs

TextFrameItem.paragraphs

TextRange.paragraphs

InsertionPoint.paragraphs