Instance Properties
| Name | Description | Access |
|---|---|---|
| length | number The number of objects in the collection. | read-only |
Methods
| count( | ) |
→ number |
| itemByName( | name) |
→ Table |
| itemByRange( | from, to) |
→ Table |
| middleItem( | ) |
→ Table |
| previousItem( | obj) |
→ Table |
| toSource( | ) |
→ string |
-
add( [to=LocationOptions.UNKNOWN], reference [, withProperties])→ Table -
Creates a new table.
toLocationOptions The location of the new table relative to the reference object or within the container object. (Optional) referenceThe reference object. Note: Required when the to value specifies before or after. Can accept: Table, XMLElement, XmlStory, TextFrame, EndnoteTextFrame, Text, InsertionPoint, TextStyleRange, Paragraph, TextColumn, Line, Word, Character, Story or Cell. (Optional) withPropertiesObject Initial values for properties of the new Table (Optional) -
anyItem( )→ Table -
Returns any Table in the collection.
-
count( )→ number -
Displays the number of elements in the Table.
-
everyItem( )→ Table -
Returns every Table in the collection.
-
firstItem( )→ Table -
Returns the first Table in the collection.
-
item( index)→ Table -
Returns the Table with the specified index or name.
indexThe index or name. Can accept: Long Integer or String. -
itemByID( id)→ Table -
Returns the Table with the specified ID.
idnumber The ID. -
itemByName( name)→ Table -
Returns the Table with the specified name.
namestring The name. -
itemByRange( from, to)→ Table -
Returns the Tables within the specified range.
fromThe Table, index, or name at the beginning of the range. Can accept: Table, Long Integer or String. toThe Table, index, or name at the end of the range. Can accept: Table, Long Integer or String. -
lastItem( )→ Table -
Returns the last Table in the collection.
-
middleItem( )→ Table -
Returns the middle Table in the collection.
-
nextItem( obj)→ Table -
Returns the Table whose index follows the specified Table in the collection.
objTable The Table whose index comes before the desired Table. -
previousItem( obj)→ Table -
Returns the Table with the index previous to the specified index.
objTable The index of the Table that follows the desired Table. -
toSource( )→ string -
Generates a string which, if executed, will return the Table.