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.

horizontalAlignment

Specifies the horizontal alignment of every cell in the row. The value can be 'Left', 'Centered', 'Right', or 'Justified'.

preferredHeight

Specifies the preferred height of the row in points.

shadingColor

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.

verticalAlignment

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

[ API set: WordApi 1.3 ]

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

[ API set: WordApi 1.3 ]

preferredHeight

Specifies the preferred height of the row in points.

preferredHeight?: number;

Property Value

number

Remarks

[ API set: WordApi 1.3 ]

shadingColor

Specifies the shading color. Color is specified in "#RRGGBB" format or by using the color name.

shadingColor?: string;

Property Value

string

Remarks

[ API set: WordApi 1.3 ]

values

Specifies the text values in the row, as a 2D JavaScript array.

values?: string[][];

Property Value

string[][]

Remarks

[ API set: WordApi 1.3 ]

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

[ API set: WordApi 1.3 ]