TableRow Class
Defines a table row in the document.
Declaration
export class TableRow
Remarks
var table = richEdit.document.tables.getByIndex(0);
var cell = table.rows.getByIndex(0).cells.getByIndex(0);
var text = richEdit.document.subDocuments.main.getText(cell.interval)
Properties
cells Property
Provides information about the table row’s cells.
Declaration
readonly cells: TableCellCollection
Property Value
Type | Description |
---|---|
TableCellCollection | An array of TableCell objects that store information about individual table cells. |
index Property
Gets an index of the row in a table.
Declaration
readonly index: number
Property Value
Type | Description |
---|---|
number | The row index. |
Remarks
Use the index to access the corresponding row by the TableRowCollection.getByIndex method.
interval Property
Gets the text buffer interval occupied by the current table row element.
Declaration
readonly interval: Interval
Property Value
Type | Description |
---|---|
Interval | An object that contains the interval settings. |