Edit

Share via


PowerPoint.TableCellProperties interface

Represents the table cell properties to update.

Remarks

[ API set: PowerPointApi 1.8 ]

Properties

borders

Specifies the border formatting of the table cell.

fill

Specifies the fill formatting of the table cell.

font

Specifies the font formatting of the table cell.

horizontalAlignment

Represents the horizontal alignment of the table cell.

indentLevel

Represents the indent level of the text in the table cell.

margins

Specifies the margin settings in the table cell.

text

Specifies the text content of the table cell.

If a portion of the text requires different formatting, use the textRuns property instead.

textRuns

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.

verticalAlignment

Represents the vertical alignment of the table cell.

Property Details

borders

Specifies the border formatting of the table cell.

borders?: PowerPoint.TableCellBorders;

Property Value

Remarks

[ API set: PowerPointApi 1.8 ]

fill

Specifies the fill formatting of the table cell.

fill?: PowerPoint.FillProperties;

Property Value

Remarks

[ API set: PowerPointApi 1.8 ]

font

Specifies the font formatting of the table cell.

font?: PowerPoint.FontProperties;

Property Value

Remarks

[ API set: PowerPointApi 1.8 ]

horizontalAlignment

Represents the horizontal alignment of the table cell.

horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | undefined;

Property Value

PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | undefined

Remarks

[ API set: PowerPointApi 1.8 ]

indentLevel

Represents the indent level of the text in the table cell.

indentLevel?: number | undefined;

Property Value

number | undefined

Remarks

[ API set: PowerPointApi 1.8 ]

margins

Specifies the margin settings in the table cell.

margins?: PowerPoint.TableCellMargins;

Property Value

Remarks

[ API set: PowerPointApi 1.8 ]

text

Specifies the text content of the table cell.

If a portion of the text requires different formatting, use the textRuns property instead.

text?: string;

Property Value

string

Remarks

[ API set: PowerPointApi 1.8 ]

textRuns

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

[ API set: PowerPointApi 1.8 ]

verticalAlignment

Represents the vertical alignment of the table cell.

verticalAlignment?: PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered" | undefined;

Property Value

PowerPoint.TextVerticalAlignment | "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered" | undefined

Remarks

[ API set: PowerPointApi 1.8 ]