PowerPoint.Interfaces.TableCellUpdateData interface
An interface for updating data on the TableCell object, for use in tableCell.set({ ... }).
Properties
| horizontal |
Specifies the horizontal alignment of the text in the table cell. Returns |
| indent |
Specifies the indent level of the text in the table cell. Returns |
| text | Specifies the text content of the table cell. |
| text |
Specifies the contents of the table cell as an array of PowerPoint.TextRun objects. Each |
| vertical |
Specifies the vertical alignment of the text in the table cell. |
Property Details
horizontalAlignment
Specifies the horizontal alignment of the text in the table cell. Returns null if the cell text contains different alignments.
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
Property Value
PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null
Remarks
indentLevel
Specifies the indent level of the text in the table cell. Returns null if the cell text contains different indent levels.
indentLevel?: number | null;
Property Value
number | null
Remarks
text
Specifies the text content of the table cell.
text?: string;
Property Value
string
Remarks
textRuns
Specifies the contents of the table cell as an array of PowerPoint.TextRun 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
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"