A text object that is on a path.
Go to Property Listing | Method Listing
extractLabel, getElements, insertLabel, remove, search, toSource, toSpecifier
Boolean, Characters, FlipValues, InsertionPoints, Lines, Number, Object, Paragraphs, PathTypeAlignments, SpecialCharacters, Story, String, TextColumns, TextFrame, TextFrameContents, TextPath, TextPathEffects, TextStyleRanges, TextTypeAlignments, Texts, Words
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The halfway point between the start bracket and the end bracket. |
||
|
readonly |
A collection of characters. |
||
|
read/write |
The contents of the text frame. Can return: String, TextFrameContents enumerator or SpecialCharacters enumerator. |
||
|
read/write |
The end of the type on a path. Note: Additional text becomes overset text unless the text is linked to another path or text frame. |
||
|
readonly |
The last text frame in the thread. Can return: TextFrame or TextPath. |
||
|
read/write |
The flip effect applied to the type on a path. |
||
|
readonly |
The unique ID of the TextPath. |
||
|
readonly |
The index of the TextPath within its containing object. |
||
|
readonly |
A collection of insertion points. |
||
|
read/write |
A property that can be set to any string. |
||
|
readonly |
A collection of lines. |
||
|
read/write |
The next text frame in the thread. Can return: TextFrame or TextPath. |
||
|
readonly |
If true, the story has overset text. |
||
|
readonly |
A collection of paragraphs. |
||
|
readonly |
The parent of the TextPath (a PageItem, Oval, Rectangle, GraphicLine, TextFrame or Polygon). |
||
|
readonly |
The story that contains the text. |
||
|
read/write |
The alignment of the type on a path. |
||
|
read/write |
The effect applied to the type on a path. |
||
|
read/write |
The spacing applied to the type on a path. |
||
|
read/write |
The previous text frame in the thread. Can return: TextFrame or TextPath. |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
read/write |
The location of the start of the type on the path, expressed in points. Note: 0 is the first point on the path. |
||
|
readonly |
The first text frame in the thread. Can return: TextFrame or TextPath. |
||
|
read/write |
The alignment applied to the type on a path. |
||
|
readonly |
A collection of text columns. |
||
|
readonly |
The index of the text frame within the story. |
||
|
readonly |
A collection of text style ranges. |
||
|
readonly |
A collection of text objects. |
||
|
readonly |
A collection of words. |
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
Object getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
undefined remove ()
Deletes the TextPath.
Text search (for:String, wholeWord:Boolean, caseSensitive:Boolean, replacingWith:String, withFindAttributes:Object, withChangeAttributes:Object)
Look for occurrences of text that matches specific criteria
|
Parameter |
Type |
Description |
|---|---|---|
|
for |
What to look for (Optional) |
|
|
wholeWord |
If true, then disregard text embedded within a larger word (Optional) |
|
|
caseSensitive |
If true, then search only for text that matches case (Optional) |
|
|
replacingWith |
What to replace the found text with, either a string or a special character (Optional) |
|
|
withFindAttributes |
A record of find preference settings to use (Optional) |
|
|
withChangeAttributes |
A record of change preference settings to use (Optional) |
String toSource ()
Generates a string which, if executed, will return the TextPath.
String toSpecifier ()
Retrieves the object specifier.
TextFrame.startTextFrame
TextPath.startTextFrame
TextFrame.endTextFrame
TextPath.endTextFrame
TextFrame.nextTextFrame
TextPath.nextTextFrame
Character.parent
InsertionPoint.parent
Line.parent
Paragraph.parent
Text.parent
TextColumn.parent
TextStyleRange.parent
Word.parent
TextFrame.previousTextFrame
TextPath.previousTextFrame