Edit

Word.Interfaces.TableColumnData interface

An interface describing the data returned by calling tableColumn.toJSON().

Remarks

Used by

Properties

borders

Returns a BorderUniversalCollection object that represents all the borders for the table column.

columnIndex

Returns the position of this column in a collection.

isFirst

Returns true if the column or row is the first one in the table; false otherwise.

isLast

Returns true if the column or row is the last one in the table; false otherwise.

nestingLevel

Returns the nesting level of the column.

preferredWidth

Specifies the preferred width (in points or as a percentage of the window width) for the column. The unit of measurement can be specified by the preferredWidthType property.

preferredWidthType

Specifies the preferred unit of measurement to use for the width of the table column.

shading

Returns a ShadingUniversal object that refers to the shading formatting for the column.

width

Specifies the width of the column, in points.

Property Details

borders

Returns a BorderUniversalCollection object that represents all the borders for the table column.

borders?: Word.Interfaces.BorderUniversalData[];

Property Value

Remarks

API set: WordApiDesktop 1.3

columnIndex

Returns the position of this column in a collection.

columnIndex?: number;

Property Value

number

Remarks

API set: WordApiDesktop 1.3

isFirst

Returns true if the column or row is the first one in the table; false otherwise.

isFirst?: boolean;

Property Value

boolean

Remarks

API set: WordApiDesktop 1.3

isLast

Returns true if the column or row is the last one in the table; false otherwise.

isLast?: boolean;

Property Value

boolean

Remarks

API set: WordApiDesktop 1.3

nestingLevel

Returns the nesting level of the column.

nestingLevel?: number;

Property Value

number

Remarks

API set: WordApiDesktop 1.3

preferredWidth

Specifies the preferred width (in points or as a percentage of the window width) for the column. The unit of measurement can be specified by the preferredWidthType property.

preferredWidth?: number;

Property Value

number

Remarks

API set: WordApiDesktop 1.3

preferredWidthType

Specifies the preferred unit of measurement to use for the width of the table column.

preferredWidthType?: Word.PreferredWidthType | "Auto" | "Percent" | "Points";

Property Value

Word.PreferredWidthType | "Auto" | "Percent" | "Points"

Remarks

API set: WordApiDesktop 1.3

shading

Returns a ShadingUniversal object that refers to the shading formatting for the column.

shading?: Word.Interfaces.ShadingUniversalData;

Property Value

Remarks

API set: WordApiDesktop 1.3

width

Specifies the width of the column, in points.

width?: number;

Property Value

number

Remarks

API set: WordApiDesktop 1.3