PowerPoint.Interfaces.TableCellData interface
An interface describing the data returned by calling tableCell.toJSON()
.
Properties
column |
Gets the number of table columns this cell spans across. Will be greater than or equal to 1. |
column |
Gets the zero-based column index of the cell within the table. |
horizontal |
Specifies the horizontal alignment of the text in the table cell. |
indent |
Specifies the indent level of the text in the table cell. |
row |
Gets the number of table rows this cell spans across. Will be greater than or equal to 1. |
row |
Gets the zero-based row index of the cell within the table. |
text | Specifies the text content of the table cell. |
text |
Specifies the contents of the table cell as an array of objects. Each |
vertical |
Specifies the vertical alignment of the text in the table cell. |
Property Details
columnCount
Gets the number of table columns this cell spans across. Will be greater than or equal to 1.
columnCount?: number;
Property Value
number
Remarks
columnIndex
Gets the zero-based column index of the cell within the table.
columnIndex?: number;
Property Value
number
Remarks
horizontalAlignment
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the horizontal alignment of the text in the table cell.
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
Property Value
PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed"
Remarks
indentLevel
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the indent level of the text in the table cell.
indentLevel?: number;
Property Value
number
Remarks
rowCount
Gets the number of table rows this cell spans across. Will be greater than or equal to 1.
rowCount?: number;
Property Value
number
Remarks
rowIndex
Gets the zero-based row index of the cell within the table.
rowIndex?: number;
Property Value
number
Remarks
text
Specifies the text content of the table cell.
text?: string;
Property Value
string
Remarks
textRuns
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the contents of the table cell as an array of objects. Each TextRun
object represents a sequence of one or more characters that share the same font attributes.
textRuns?: PowerPoint.TextRun[];
Property Value
Remarks
verticalAlignment
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the vertical alignment of the text in the table cell.
verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered";
Property Value
PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered"