Word.Interfaces.TableRowCollectionLoadOptions interface

Contains the collection of the document's TableRow objects.

Remarks

[ API set: WordApi 1.3 ]

Properties

$all

Specifying $all for the LoadOptions loads all the scalar properties (e.g.: Range.address) but not the navigational properties (e.g.: Range.format.fill.color).

cellCount

For EACH ITEM in the collection: Gets the number of cells in the row.

font

For EACH ITEM in the collection: Gets the font. Use this to get and set font name, size, color, and other properties.

horizontalAlignment

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

isHeader

For EACH ITEM in the collection: Checks whether the row is a header row. To set the number of header rows, use headerRowCount on the Table object.

parentTable

For EACH ITEM in the collection: Gets parent table.

preferredHeight

For EACH ITEM in the collection: Specifies the preferred height of the row in points.

rowIndex

For EACH ITEM in the collection: Gets the index of the row in its parent table.

shadingColor

For EACH ITEM in the collection: Specifies the shading color. Color is specified in "#RRGGBB" format or by using the color name.

values

For EACH ITEM in the collection: Specifies the text values in the row, as a 2D JavaScript array.

verticalAlignment

For EACH ITEM in the collection: 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 LoadOptions loads all the scalar properties (e.g.: Range.address) but not the navigational properties (e.g.: Range.format.fill.color).

$all?: boolean;

Property Value

boolean

cellCount

For EACH ITEM in the collection: Gets the number of cells in the row.

cellCount?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

font

For EACH ITEM in the collection: Gets the font. Use this to get and set font name, size, color, and other properties.

font?: Word.Interfaces.FontLoadOptions;

Property Value

Remarks

[ API set: WordApi 1.3 ]

horizontalAlignment

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

horizontalAlignment?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

isHeader

For EACH ITEM in the collection: Checks whether the row is a header row. To set the number of header rows, use headerRowCount on the Table object.

isHeader?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

parentTable

For EACH ITEM in the collection: Gets parent table.

parentTable?: Word.Interfaces.TableLoadOptions;

Property Value

Remarks

[ API set: WordApi 1.3 ]

preferredHeight

For EACH ITEM in the collection: Specifies the preferred height of the row in points.

preferredHeight?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

rowIndex

For EACH ITEM in the collection: Gets the index of the row in its parent table.

rowIndex?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

shadingColor

For EACH ITEM in the collection: Specifies the shading color. Color is specified in "#RRGGBB" format or by using the color name.

shadingColor?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

values

For EACH ITEM in the collection: Specifies the text values in the row, as a 2D JavaScript array.

values?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]

verticalAlignment

For EACH ITEM in the collection: Specifies the vertical alignment of the cells in the row. The value can be 'Top', 'Center', or 'Bottom'.

verticalAlignment?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.3 ]