Word.Interfaces.TableCellLoadOptions interface
Represents a table cell in a Word document.
Remarks
Properties
$all | Specifying |
body | Gets the body object of the cell. |
cell |
Gets the index of the cell in its row. |
column |
Specifies the width of the cell's column in points. This is applicable to uniform tables. |
horizontal |
Specifies the horizontal alignment of the cell. The value can be 'Left', 'Centered', 'Right', or 'Justified'. |
parent |
Gets the parent row of the cell. |
parent |
Gets the parent table of the cell. |
row |
Gets the index of the cell's row in the table. |
shading |
Specifies the shading color of the cell. Color is specified in "#RRGGBB" format or by using the color name. |
value | Specifies the text of the cell. |
vertical |
Specifies the vertical alignment of the cell. The value can be 'Top', 'Center', or 'Bottom'. |
width | Gets the width of the cell in points. |
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
body
Gets the body object of the cell.
body?: Word.Interfaces.BodyLoadOptions;
Property Value
Remarks
cellIndex
Gets the index of the cell in its row.
cellIndex?: boolean;
Property Value
boolean
Remarks
columnWidth
Specifies the width of the cell's column in points. This is applicable to uniform tables.
columnWidth?: boolean;
Property Value
boolean
Remarks
horizontalAlignment
Specifies the horizontal alignment of the cell. The value can be 'Left', 'Centered', 'Right', or 'Justified'.
horizontalAlignment?: boolean;
Property Value
boolean
Remarks
parentRow
Gets the parent row of the cell.
parentRow?: Word.Interfaces.TableRowLoadOptions;
Property Value
Remarks
parentTable
Gets the parent table of the cell.
parentTable?: Word.Interfaces.TableLoadOptions;
Property Value
Remarks
rowIndex
Gets the index of the cell's row in the table.
rowIndex?: boolean;
Property Value
boolean
Remarks
shadingColor
Specifies the shading color of the cell. Color is specified in "#RRGGBB" format or by using the color name.
shadingColor?: boolean;
Property Value
boolean
Remarks
value
Specifies the text of the cell.
value?: boolean;
Property Value
boolean
Remarks
verticalAlignment
Specifies the vertical alignment of the cell. The value can be 'Top', 'Center', or 'Bottom'.
verticalAlignment?: boolean;
Property Value
boolean
Remarks
width
Gets the width of the cell in points.
width?: boolean;
Property Value
boolean
Remarks
Office Add-ins