# TableCellFormat Object

> The TableCellFormat object represents the formatting attributes of a table cell.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > TableCellFormat Object
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/#syntax)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/#examples)
- [Members](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/#members)

---

## In This Section

- [Javascript: TableCellFormat.bottomBorder Property](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/bottomborder-property/llms.txt): The cell's bottom border.
- [Javascript: TableCellFormat.getBackColor Method](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/getbackcolor-method/llms.txt): Gets the table cell's background color.
- [Javascript: TableCellFormat.getNumberFormat Method](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/getnumberformat-method/llms.txt): Gets a number format for the table cell. The number format is used, when a formula is defined and the table cell's text is automatically calculated. When a number format is not defined, the property's value is an empty string. The number format string has a format as described in Office Open XML File Formats - ISO/IEC 29500 - 1, Chapter: 18.8.31 Number Formats.
- [Javascript: TableCellFormat.getTextType Method](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/gettexttype-method/llms.txt): Gets the text type of the table cell which determines whether the cell's text is interpreted as a number or as text When the type is Text, the cell's text is interpreted as text and it is displayed as it is. When the type is Number, the cell's text is interpreted as a number. The period character (.) is defined as decimal separator, the comma character (,) is defined as thousands separator.
- [Javascript: TableCellFormat.getVerticalAlignment Method](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/getverticalalignment-method/llms.txt): Gets the vertical alignment of the text in the table cell.
- [Javascript: TableCellFormat.leftBorder Property](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/leftborder-property/llms.txt): The cell's left border.
- [Javascript: TableCellFormat.rightBorder Property](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/rightborder-property/llms.txt): The cell's right border.
- [Javascript: TableCellFormat.setBackColor Method](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/setbackcolor-method/llms.txt): Sets the table cell's background color.
- [Javascript: TableCellFormat.setNumberFormat Method](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/setnumberformat-method/llms.txt): Sets the table cell's number format.
- [Javascript: TableCellFormat.setTextType Method](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/settexttype-method/llms.txt): Sets the table cell's text type.
- [Javascript: TableCellFormat.setVerticalAlignment Method](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/setverticalalignment-method/llms.txt): Sets the vertical alignment of the text in the table cell.
- [Javascript: TableCellFormat.topBorder Property](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/topborder-property/llms.txt): The cell's top border.

---

## Nearby

- **Previous:** [Javascript: TableCellCollection.remove Method](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellcollection/remove-method/llms.txt)
- **Next:** [Javascript: TableCellFormat.bottomBorder Property](https://docs.textcontrol.com/ds-server/reference/javascript/tablecellformat/bottomborder-property/llms.txt)
