ApiTableCell
Class representing a table cell.
Methods
The following table lists the available methods.
| Method | Returns | Description |
|---|---|---|
| AddColumns | ApiTable | null | Adds the new columns to the current table. |
| AddRows | ApiTable | null | Adds the new rows to the current table. |
| AddText | ApiRun | Appends text to the end of the cell content. |
| Clear | boolean | Clears the content from the current cell. |
| GetBackgroundColor | ApiColor | null | Returns the background color of the current table cell. |
| GetClassType | "tableCell" | Returns the type of the ApiTableCell class. |
| GetContent | ApiDocumentContent | Returns the current cell content. |
| GetIndex | Number | Returns the current cell index. |
| GetInternalId | string | Returns an internal id of the current table cell. |
| GetNext | ApiTableCell | null | Returns the next cell if exists. |
| GetParentRow | ApiTableRow | null | Returns a parent row of the current cell. |
| GetParentTable | ApiTable | null | Returns a parent table of the current cell. |
| GetPrevious | ApiTableCell | null | Returns the previous cell if exists. |
| GetRowIndex | number | null | Returns an index of the parent row. |
| GetText | string | Returns the inner text of the current table cell. |
| RemoveColumn | boolean | Removes a column containing the current cell. |
| RemoveRow | boolean | Removes a row containing the current cell. |
| Select | boolean | Selects the current table cell. |
| SetBackgroundColor | boolean | Sets the background color of the current cell. |
| SetCellBorderBottom | boolean | Sets the border which shall be displayed at the bottom of the current table cell. |
| SetCellBorderLeft | boolean | Sets the border which shall be displayed at the left of the current table cell. |
| SetCellBorderRight | boolean | Sets the border which shall be displayed at the right of the current table cell. |
| SetCellBorderTop | boolean | Sets the border which shall be displayed at the top of the current table cell. |
| SetCellMarginBottom | boolean | Specifies an amount of space which shall be left between the bottom extent of the cell contents and the border of a specific individual table cell within a table. |
| SetCellMarginLeft | boolean | Specifies an amount of space which shall be left between the left extent of the current cell contents and the left edge border of a specific individual table cell within a table. |
| SetCellMarginRight | boolean | Specifies an amount of space which shall be left between the right extent of the current cell contents and the right edge border of a specific individual table cell within a table. |
| SetCellMarginTop | boolean | Specifies an amount of space which shall be left between the top extent of the current cell contents and the top edge border of a specific individual table cell within a table. |
| SetColumnBackgroundColor | boolean | Sets the background color to all cells in the column containing the current cell. |
| SetShd | boolean | Specifies the shading which shall be applied to the extents of the current table cell. |
| SetText | ApiRun | Replaces all content of the current table cell with the specified text, preserving the formatting of the first paragraph. |
| SetTextDirection | boolean | Specifies the direction of the text flow for the current table cell. |
| SetTextPr | boolean | Sets the text properties to the content of the current cell. |
| SetVerticalAlign | boolean | Specifies the vertical alignment for text within the current table cell. |
| SetWidth | boolean | Specifies the preferred width for this cell. |