Adobe Illustrator CS4 Type Library JS: TextFrameItem

Illustrator CS4

Class

TextFrameItem

 Text frame item. Base Class: PageItem

QuickLinks

createOutline, duplicate, move, remove, removeAll

Hierarchy

Object
PageItem
TextFrameItem

Properties

PropertyTypeAccessDescription
anchorPoint r/wThe position of the anchor point (start of base line for point text)
charactersCharacters readonlyAll the characters in this text range.
columnCountint r/wThe column count in the text frame (area text only)
columnGutternumber r/wThe column gutter in the text frame (area text only)
contentVariableany r/wThe content variable bound to this text art item.
contentsstring r/wThe text contents of this text frame.
endTValuenumber r/wThe end position of text along a path, as a value relative to the path's segments (path text only)
flowLinksHorizontallybool r/wFlow text between linked frame horizontally first. (area text only)
insertionPointsInsertionPoints readonlyAll the insertion points in this text range.
kindTextType:
TextType.POINTTEXT
TextType.AREATEXT
TextType.PATHTEXT
readonlyThe type of a text frame item.
linesLines readonlyAll the lines in this text range.
matrixMatrix readonlyThe transformation matrix of the text frame object.
nextFrameTextFrameItem r/wThe linked text frame following this one.
opticalAlignmentbool r/wIs the optical alignment active?
orientationTextOrientation:
TextOrientation.HORIZONTAL
TextOrientation.VERTICAL
r/wThe orientation of the text in the frame.
paragraphsParagraphs readonlyAll the paragraphs in this text range.
parentObject readonlyThe object's container.
previousFrameTextFrameItem r/wThe linked text frame preceding this one.
rowCountint r/wThe row count in the text frame (area text only)
rowGutternumber r/wThe row gutter in the text frame (area text only)
spacingnumber r/wThe amount of spacing (path text only)
startTValuenumber r/wThe start position of text along a path, as a value relative to the path's segments (path text only)
storyStory readonlyThe story of the text frame.
textPathTextPath readonlyThe path for the text frame (area and path text)
textRangeTextRange readonlyThe text range of the text frame.
textRangesTextRanges readonlyAll the text in this text range.
textSelection Array of TextRange readonlyThe selected text (ranges) in the story.
typenamestring readonlyThe class name of the object.
wordsWords readonlyAll the words in this text range.

Methods

Instances

GroupItem createOutline ()
Convert text item to path items.

PageItem duplicate (relativeObject: Object, insertionLocation: ElementPlacement)
Duplicate this object.

ParameterTypeDescription
relativeObjectObject
insertionLocationElementPlacement

PageItem move (relativeObject: Object, insertionLocation: ElementPlacement)
Move the object.

ParameterTypeDescription
relativeObjectObject
insertionLocationElementPlacement

void remove ()
Deletes this object.

void removeAll ()
Deletes all elements.

Element of

TextFrameItem.nextFrame

TextFrameItem.previousFrame

Used in:

TextFrameItem TextFrameItems.areaText (textPath: PathItem[, orientation: TextOrientation=TextOrientation.HORIZONTAL][, baseFrame: TextFrameItem][, postFix: bool=true])

TextFrameItem TextFrameItems.pathText (textPath: PathItem[, startTValue: number=0.0][, endTValue: number=0.0][, orientation: TextOrientation=TextOrientation.HORIZONTAL][, baseFrame: TextFrameItem][, postFix: bool=true])

Return

TextFrameItem TextFrameItems.[] (index: uint)

TextFrameItem TextFrameItems.add ()

TextFrameItem TextFrameItems.areaText (textPath: PathItem[, orientation: TextOrientation=TextOrientation.HORIZONTAL][, baseFrame: TextFrameItem][, postFix: bool=true])

TextFrameItem TextFrameItems.getByName (name: string)

TextFrameItem TextFrameItems.pathText (textPath: PathItem[, startTValue: number=0.0][, endTValue: number=0.0][, orientation: TextOrientation=TextOrientation.HORIZONTAL][, baseFrame: TextFrameItem][, postFix: bool=true])

TextFrameItem TextFrameItems.pointText (anchor: Point[, orientation: TextOrientation=TextOrientation.HORIZONTAL])

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