Edit

Share via


Word.Interfaces.TableRowLoadOptions interface

Represents a row in a Word document.

Remarks

[ API set: WordApi 1.3 ]

Properties

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

cellCount

Gets the number of cells in the row.

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'.

isHeader

Checks whether the row is a header row. To set the number of header rows, use headerRowCount on the Table object.

parentTable

Gets parent table.

preferredHeight

Specifies the preferred height of the row in points.

rowIndex

Gets the index of the row in its parent table.

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

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

TypeScript
$all?: boolean;

Property Value

boolean

cellCount

Gets the number of cells in the row.

TypeScript
cellCount?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

font

Gets the font. Use this to get and set font name, size, color, and other properties.

TypeScript
font?: Word.Interfaces.FontLoadOptions;

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'.

TypeScript
horizontalAlignment?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

isHeader

Checks whether the row is a header row. To set the number of header rows, use headerRowCount on the Table object.

TypeScript
isHeader?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

parentTable

Gets parent table.

TypeScript
parentTable?: Word.Interfaces.TableLoadOptions;

Property Value

Remarks

[ API set: WordApi 1.3 ]

preferredHeight

Specifies the preferred height of the row in points.

TypeScript
preferredHeight?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

rowIndex

Gets the index of the row in its parent table.

TypeScript
rowIndex?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

shadingColor

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

TypeScript
shadingColor?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

values

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

TypeScript
values?: boolean;

Property Value

boolean

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'.

TypeScript
verticalAlignment?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]