Skip to main content

ApiTableCell

Class representing a table cell.

Methods​

The following table lists the available methods.

MethodReturnsDescription
AddColumnsApiTable | nullAdds the new columns to the current table.
AddRowsApiTable | nullAdds the new rows to the current table.
AddTextApiRunAppends text to the end of the cell content.
ClearbooleanClears the content from the current cell.
GetBackgroundColorApiColor | nullReturns the background color of the current table cell.
GetClassType"tableCell"Returns the type of the ApiTableCell class.
GetContentApiDocumentContentReturns the current cell content.
GetIndexNumberReturns the current cell index.
GetInternalIdstringReturns an internal id of the current table cell.
GetNextApiTableCell | nullReturns the next cell if exists.
GetParentRowApiTableRow | nullReturns a parent row of the current cell.
GetParentTableApiTable | nullReturns a parent table of the current cell.
GetPreviousApiTableCell | nullReturns the previous cell if exists.
GetRowIndexnumber | nullReturns an index of the parent row.
GetTextstringReturns the inner text of the current table cell.
GetTextRangeApiTextRange | nullReturns an ApiTextRange covering the full text content of the table cell.
RemoveColumnbooleanRemoves a column containing the current cell.
RemoveRowbooleanRemoves a row containing the current cell.
SelectNoneSelects the current table cell in the presentation.
SetBackgroundColorbooleanSets the background color to the current table cell.
SetCellBorderBottombooleanSets the border which shall be displayed at the bottom of the current table cell.
SetCellBorderLeftbooleanSets the border which shall be displayed at the left of the current table cell.
SetCellBorderRightbooleanSets the border which shall be displayed at the right of the current table cell.
SetCellBorderTopbooleanSets the border which shall be displayed at the top of the current table cell.
SetCellMarginBottomNoneSpecifies 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.
SetCellMarginLeftNoneSpecifies 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.
SetCellMarginRightNoneSpecifies 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.
SetCellMarginTopNoneSpecifies 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.
SetColumnBackgroundColorbooleanSets the background color to all cells in the column containing the current cell.
SetShdNoneSpecifies the shading which shall be applied to the extents of the current table cell.
SetTextApiRunReplaces all content of the current table cell with the specified text, preserving the formatting of the first paragraph.
SetTextDirectionNoneSpecifies the direction of the text flow for the current table cell.
SetTextPrbooleanSets the text properties to the content of the current cell.
SetVerticalAlignNoneSpecifies the vertical alignment for text within the current table cell.