Edit

Share via


PowerPoint.Interfaces.TableCellUpdateData interface

An interface for updating data on the TableCell object, for use in tableCell.set({ ... }).

Properties

horizontalAlignment

Specifies the horizontal alignment of the text in the table cell. Returns null if the cell text contains different alignments.

indentLevel

Specifies the indent level of the text in the table cell. Returns null if the cell text contains different indent levels.

text

Specifies the text content of the table cell.

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.

verticalAlignment

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

[ API set: PowerPointApi 1.9 ]

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

[ API set: PowerPointApi 1.9 ]

text

Specifies the text content of the table cell.

text?: string;

Property Value

string

Remarks

[ API set: PowerPointApi 1.8 ]

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

[ API set: PowerPointApi 1.9 ]

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"

Remarks

[ API set: PowerPointApi 1.9 ]