PowerPoint.TableCellProperties interface
Represents the table cell properties to update.
Remarks
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. |
horizontal |
Represents the horizontal alignment of the table cell. |
indent |
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 |
text |
Specifies the contents of the table cell as an array of objects. Each |
vertical |
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
fill
Specifies the fill formatting of the table cell.
fill?: PowerPoint.FillProperties;
Property Value
Remarks
font
Specifies the font formatting of the table cell.
font?: PowerPoint.FontProperties;
Property Value
Remarks
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
indentLevel
Represents the indent level of the text in the table cell.
indentLevel?: number | undefined;
Property Value
number | undefined
Remarks
margins
Specifies the margin settings in the table cell.
margins?: PowerPoint.TableCellMargins;
Property Value
Remarks
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
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
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