Word.Interfaces.TableCellLoadOptions interface

Represents a table cell in a Word document.

[ API set: WordApi 1.3 ]

Properties

$all
body

Gets the body object of the cell.

[ API set: WordApi 1.3 ]

cellIndex

Gets the index of the cell in its row. Read-only.

[ API set: WordApi 1.3 ]

columnWidth

Gets and sets the width of the cell's column in points. This is applicable to uniform tables.

[ API set: WordApi 1.3 ]

horizontalAlignment

Gets and sets the horizontal alignment of the cell. The value can be 'Left', 'Centered', 'Right', or 'Justified'.

[ API set: WordApi 1.3 ]

parentRow

Gets the parent row of the cell.

[ API set: WordApi 1.3 ]

parentTable

Gets the parent table of the cell.

[ API set: WordApi 1.3 ]

rowIndex

Gets the index of the cell's row in the table. Read-only.

[ API set: WordApi 1.3 ]

shadingColor

Gets or sets the shading color of the cell. Color is specified in "#RRGGBB" format or by using the color name.

[ API set: WordApi 1.3 ]

value

Gets and sets the text of the cell.

[ API set: WordApi 1.3 ]

verticalAlignment

Gets and sets the vertical alignment of the cell. The value can be 'Top', 'Center', or 'Bottom'.

[ API set: WordApi 1.3 ]

width

Gets the width of the cell in points. Read-only.

[ API set: WordApi 1.3 ]

Property Details

$all

$all?: boolean;

Property Value

boolean

body

Gets the body object of the cell.

[ API set: WordApi 1.3 ]

body?: Word.Interfaces.BodyLoadOptions;

Property Value

cellIndex

Gets the index of the cell in its row. Read-only.

[ API set: WordApi 1.3 ]

cellIndex?: boolean;

Property Value

boolean

columnWidth

Gets and sets the width of the cell's column in points. This is applicable to uniform tables.

[ API set: WordApi 1.3 ]

columnWidth?: boolean;

Property Value

boolean

horizontalAlignment

Gets and sets the horizontal alignment of the cell. The value can be 'Left', 'Centered', 'Right', or 'Justified'.

[ API set: WordApi 1.3 ]

horizontalAlignment?: boolean;

Property Value

boolean

parentRow

Gets the parent row of the cell.

[ API set: WordApi 1.3 ]

parentRow?: Word.Interfaces.TableRowLoadOptions;

Property Value

parentTable

Gets the parent table of the cell.

[ API set: WordApi 1.3 ]

parentTable?: Word.Interfaces.TableLoadOptions;

Property Value

rowIndex

Gets the index of the cell's row in the table. Read-only.

[ API set: WordApi 1.3 ]

rowIndex?: boolean;

Property Value

boolean

shadingColor

Gets or sets the shading color of the cell. Color is specified in "#RRGGBB" format or by using the color name.

[ API set: WordApi 1.3 ]

shadingColor?: boolean;

Property Value

boolean

value

Gets and sets the text of the cell.

[ API set: WordApi 1.3 ]

value?: boolean;

Property Value

boolean

verticalAlignment

Gets and sets the vertical alignment of the cell. The value can be 'Top', 'Center', or 'Bottom'.

[ API set: WordApi 1.3 ]

verticalAlignment?: boolean;

Property Value

boolean

width

Gets the width of the cell in points. Read-only.

[ API set: WordApi 1.3 ]

width?: boolean;

Property Value

boolean