Word.Interfaces.TableRowUpdateData interface
An interface for updating data on the TableRow
object, for use in tableRow.set({ ... })
.
Properties
font | Gets the font. Use this to get and set font name, size, color, and other properties. |
horizontal |
Specifies the horizontal alignment of every cell in the row. The value can be 'Left', 'Centered', 'Right', or 'Justified'. |
preferred |
Specifies the preferred height of the row in points. |
shading |
Specifies the shading color. Color is specified in "#RRGGBB" format or by using the color name. |
values | Specifies the text values in the row, as a 2D JavaScript array. |
vertical |
Specifies the vertical alignment of the cells in the row. The value can be 'Top', 'Center', or 'Bottom'. |
Property Details
font
Gets the font. Use this to get and set font name, size, color, and other properties.
font?: Word.Interfaces.FontUpdateData;
Property Value
Remarks
horizontalAlignment
Specifies the horizontal alignment of every cell in the row. 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
preferredHeight
Specifies the preferred height of the row in points.
preferredHeight?: number;
Property Value
number
Remarks
shadingColor
Specifies the shading color. Color is specified in "#RRGGBB" format or by using the color name.
shadingColor?: string;
Property Value
string
Remarks
values
Specifies the text values in the row, as a 2D JavaScript array.
values?: string[][];
Property Value
string[][]
Remarks
verticalAlignment
Specifies the vertical alignment of the cells in the row. The value can be 'Top', 'Center', or 'Bottom'.
verticalAlignment?: Word.VerticalAlignment | "Mixed" | "Top" | "Center" | "Bottom";
Property Value
Word.VerticalAlignment | "Mixed" | "Top" | "Center" | "Bottom"
Remarks
Office Add-ins