Word.Interfaces.TableCellUpdateData interface
An interface for updating data on the TableCell object, for use in tableCell.set({ ... }).
Properties
| body | Gets the |
| column |
Specifies the width of the cell's column in points. This is applicable to uniform tables. |
| horizontal |
Specifies the horizontal alignment of the cell. The value can be |
| shading |
Specifies the shading color of the cell. Color is specified in "#RRGGBB" format or by using the color name. |
| value | Specifies the text of the cell. |
| vertical |
Specifies the vertical alignment of the cell. The value can be |
Property Details
body
Gets the Body object of the cell.
body?: Word.Interfaces.BodyUpdateData;
Property Value
Remarks
columnWidth
Specifies the width of the cell's column in points. This is applicable to uniform tables.
columnWidth?: number;
Property Value
number
Remarks
horizontalAlignment
Specifies the horizontal alignment of the cell. The value can be left, centered, right, or justified.
horizontalAlignment?: Word.Alignment | "Mixed" | "Unknown" | "Left" | "Centered" | "Right" | "Justified";
Property Value
Word.Alignment | "Mixed" | "Unknown" | "Left" | "Centered" | "Right" | "Justified"
Remarks
shadingColor
Specifies the shading color of the cell. Color is specified in "#RRGGBB" format or by using the color name.
shadingColor?: string;
Property Value
string
Remarks
value
Specifies the text of the cell.
value?: string;
Property Value
string
Remarks
verticalAlignment
Specifies the vertical alignment of the cell. The value can be top, center, or bottom.
verticalAlignment?: Word.VerticalAlignment | "Mixed" | "Top" | "Center" | "Bottom";
Property Value
Word.VerticalAlignment | "Mixed" | "Top" | "Center" | "Bottom"