Word.Interfaces.TableCellUpdateData interface

An interface for updating data on the TableCell object, for use in "tableCell.set({ ... })".

Properties

body

Gets the body object of the cell.

[ 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 ]

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 ]

Property Details

body

Gets the body object of the cell.

[ API set: WordApi 1.3 ]

body?: Word.Interfaces.BodyUpdateData;

Property Value

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?: number;

Property Value

number

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?: Word.Alignment | "Mixed" | "Unknown" | "Left" | "Centered" | "Right" | "Justified";

Property Value

Word.Alignment | "Mixed" | "Unknown" | "Left" | "Centered" | "Right" | "Justified"

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?: string;

Property Value

string

value

Gets and sets the text of the cell.

[ API set: WordApi 1.3 ]

value?: string;

Property Value

string

verticalAlignment

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

[ API set: WordApi 1.3 ]

verticalAlignment?: Word.VerticalAlignment | "Mixed" | "Top" | "Center" | "Bottom";

Property Value

Word.VerticalAlignment | "Mixed" | "Top" | "Center" | "Bottom"