Skip to main content

ApiTableCell

Class representing a table cell.

Methods​

The following table lists the available methods.

MethodReturnsDescription
AddTextApiRunAppends text to the end of the cell content.
GetClassType"tableCell"Returns the type of the ApiTableCell class.
GetContentApiDocumentContentReturns the current cell content.
GetTextstringReturns the inner text of 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.
SetCellMarginBottombooleanSpecifies 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.
SetCellMarginLeftbooleanSpecifies 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.
SetCellMarginRightbooleanSpecifies 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.
SetCellMarginTopbooleanSpecifies 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.
SetShdbooleanSpecifies 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.
SetTextDirectionbooleanSpecifies the direction of the text flow for the current table cell.
SetVerticalAlignbooleanSpecifies the vertical alignment for text within the current table cell.