TextFrames

A collection of text frames.

Methods:

add, count

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

TextFrame add (layer:Layer, [at:LocationOptions=LocationOptions], reference:Varies Document MasterSpread Page Spread Layer, withProperties:Object)

Create a new TextFrame

Parameter

Type

Description

layer

Layer

The layer on which to create the TextFrame. (Optional)

at

LocationOptions

LocationOptions.AFTER

LocationOptions.AT_BEGINNING

LocationOptions.AT_END

LocationOptions.BEFORE

LocationOptions.UNKNOWN

Location (Optional)

(default: LocationOptions.UNKNOWN)

reference

Document

MasterSpread

Page

Spread

Layer

Before/after this TextFrame or at the beginning/end of this Document, Spread, Master Spread, Page or Layer. Can accept: Document, Spread, MasterSpread, Page or Layer. (Optional)

withProperties

Object

Initial values for properties of the new TextFrame (Optional)

Number count ()

Displays the number of elements in the TextFrame.

Object of

Document.textFrames

Button.textFrames

State.textFrames

Layer.textFrames

Spread.textFrames

Page.textFrames

MasterSpread.textFrames

PageItem.textFrames

Oval.textFrames

Rectangle.textFrames

GraphicLine.textFrames

Polygon.textFrames

Group.textFrames

Cell.textFrames

Table.textFrames

Text.textFrames

Character.textFrames

Word.textFrames

Line.textFrames

TextColumn.textFrames

Paragraph.textFrames

TextStyleRange.textFrames

InsertionPoint.textFrames

TextFrame.textFrames

Story.textFrames