Word.Interfaces.TableRowLoadOptions interface
Represents a row in a Word document.
Remarks
Properties
| $all | Specifying |
| cell |
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. |
| horizontal |
Specifies the horizontal alignment of every cell in the row. The value can be |
| is |
Checks whether the row is a header row. To set the number of header rows, use |
| parent |
Gets parent table. |
| preferred |
Specifies the preferred height of the row in points. |
| range | Returns the |
| row |
Gets the index of the row in its parent table. |
| shading | Returns the |
| 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 |
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).
$all?: boolean;
Property Value
boolean
cellCount
Gets the number of cells in the row.
cellCount?: boolean;
Property Value
boolean
Remarks
font
Gets the font. Use this to get and set font name, size, color, and other properties.
font?: Word.Interfaces.FontLoadOptions;
Property Value
Remarks
horizontalAlignment
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
isHeader
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
parentTable
Gets parent table.
parentTable?: Word.Interfaces.TableLoadOptions;
Property Value
Remarks
preferredHeight
Specifies the preferred height of the row in points.
preferredHeight?: boolean;
Property Value
boolean
Remarks
range
Returns the Range object that represents the table row.
range?: Word.Interfaces.RangeLoadOptions;
Property Value
Remarks
rowIndex
Gets the index of the row in its parent table.
rowIndex?: boolean;
Property Value
boolean
Remarks
shading
Returns the ShadingUniversal object that represents the shading of the table row.
shading?: Word.Interfaces.ShadingUniversalLoadOptions;
Property Value
Remarks
shadingColor
Specifies the shading color. Color is specified in "#RRGGBB" format or by using the color name.
shadingColor?: boolean;
Property Value
boolean
Remarks
values
Specifies the text values in the row, as a 2D JavaScript array.
values?: boolean;
Property Value
boolean
Remarks
verticalAlignment
Specifies the vertical alignment of the cells in the row. The value can be top, center, or bottom.
verticalAlignment?: boolean;
Property Value
boolean