A collection of lines.
Methods
LineanyItem ()
Returns any Line in the collection.
number count ()
Displays the number of elements in the Line.
Array of LineeveryItem ()
Returns every Line in the collection.
LinefirstItem ()
Returns the first Line in the collection.
Lineitem (index:
any)
Returns the Line with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
LineitemByName (name:
string)
Returns the Line with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of LineitemByRange (from:
any, to:
any)
Returns the Lines within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | Line Long Integer String |
The Line, index, or name at the beginning of the range. Can accept: Line, Long Integer or String. |
| to | Line Long Integer String |
The Line, index, or name at the end of the range. Can accept: Line, Long Integer or String. |
LinelastItem ()
Returns the last Line in the collection.
LinemiddleItem ()
Returns the middle Line in the collection.
LinenextItem (obj:
Line)
Returns the Line whose index follows the specified Line in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | Line | The Line whose index comes before the desired Line. |
LinepreviousItem (obj:
Line)
Returns the Line with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | Line | The index of the Line that follows the desired Line. |
string toSource ()
Generates a string which, if executed, will return the Line.
Element of:
Cell.lines
Character.lines
Footnote.lines
InsertionPoint.lines
Line.lines
Note.lines
Paragraph.lines
Story.lines
Text.lines
TextColumn.lines
TextFrame.lines
TextPath.lines
TextStyleRange.lines
Word.lines
XMLElement.lines
XmlStory.lines