Adobe InDesign CS (3.0) Object Model JS: TextFrames

InDesign CS

Class

TextFrames

 A collection of text frames.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

TextFrame add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])
Create a new TextFrame

ParameterTypeDescription
layerLayerThe layer on which to create the TextFrame. (Optional)
atLocationOptions:
LocationOptions.BEFORE
LocationOptions.AFTER
LocationOptions.AT_END
LocationOptions.AT_BEGINNING
LocationOptions.UNKNOWN
Location (Optional) (default: LocationOptions.UNKNOWN)
referenceDocument
Layer
MasterSpread
Page
Spread
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)
withPropertiesObjectInitial values for properties of the new TextFrame (Optional)

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

Element of

Button.textFrames

Cell.textFrames

Character.textFrames

Document.textFrames

GraphicLine.textFrames

Group.textFrames

InsertionPoint.textFrames

Layer.textFrames

Line.textFrames

MasterSpread.textFrames

Oval.textFrames

Page.textFrames

PageItem.textFrames

Paragraph.textFrames

Polygon.textFrames

Rectangle.textFrames

Spread.textFrames

State.textFrames

Story.textFrames

Table.textFrames

Text.textFrames

TextColumn.textFrames

TextFrame.textFrames

TextStyleRange.textFrames

Word.textFrames

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