InDesign Server2025
API 20.5.0.49
Collection of Cell

Cells

A collection of table cells.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

Cell

Returns the Cell with the specified index.

index Number The index.
Cell

Returns any Cell in the collection.

Number

Displays the number of elements in the Cell.

Cell[]

Returns every Cell in the collection.

Cell

Returns the first Cell in the collection.

Cell

Returns the Cell with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
Cell

Returns the Cell with the specified ID.

id Number The ID.
Cell

Returns the Cell with the specified name.

name String The name.
Cell[]

Returns the Cells within the specified range.

from Cell | LongInteger | String The Cell, index, or name at the beginning of the range. Can accept: Cell, Long Integer or String.
to Cell | LongInteger | String The Cell, index, or name at the end of the range. Can accept: Cell, Long Integer or String.
Cell

Returns the last Cell in the collection.

Cell

Returns the middle Cell in the collection.

Cell

Returns the Cell whose index follows the specified Cell in the collection.

obj Cell The Cell whose index comes before the desired Cell.
Cell

Returns the Cell with the index previous to the specified index.

obj Cell The index of the Cell that follows the desired Cell.
String

Generates a string which, if executed, will return the Cell.

Object of 5

Properties elsewhere that hold a Cells.