ApiTableRow
Class representing a table row.
ApiTableRow is a subclass of ApiTableRowPr.
Methods
The following table lists the available methods.
| Method | Returns | Description |
|---|---|---|
| AddRows | ApiTable | null | Adds the new rows to the current table. |
| Clear | boolean | Clears the content from the current row. |
| GetCell | ApiTableCell | Returns a cell by its position in the current row. |
| GetCellsCount | number | Returns a number of cells in the current row. |
| GetClassType | "tableRow" | Returns the type of the ApiTableRow class. |
| GetHeight | EMU | Gets the height from the current table row. |
| GetIndex | Number | Returns the current row index. |
| GetInternalId | string | Returns an internal id of the current table row. |
| GetNext | ApiTableRow | null | Returns the next row if exists. |
| GetParentTable | ApiTable | null | Returns the parent table of the current row. |
| GetPrevious | ApiTableRow | null | Returns the previous row if exists. |
| MergeCells | ApiTableCell | null | Merges the cells in the current row. |
| Remove | boolean | Removes the current table row. |
| SetBackgroundColor | boolean | Sets the background color to all cells in the current table row. |
| SetHeight | boolean | Sets the height to the current table row. |
| SetRowPr | boolean | Sets the properties to the current table row. |
| SetTableHeader | boolean | Specifies that the current table row will be repeated at the top of each new page wherever this table is displayed. |
| SetTextPr | boolean | Sets the text properties to the current row. |