Word.Interfaces.TableColumnData interface
An interface describing the data returned by calling tableColumn.toJSON()
.
Properties
borders | Returns a |
column |
Returns the position of this column in a collection. |
is |
Returns |
is |
Returns |
nesting |
Returns the nesting level of the column. |
preferred |
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 |
preferred |
Specifies the preferred unit of measurement to use for the width of the table column. |
shading | Returns a |
width | Specifies the width of the column, in points. |
Property Details
borders
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns a BorderUniversalCollection
object that represents all the borders for the table column.
borders?: Word.Interfaces.BorderUniversalData[];
Property Value
Remarks
columnIndex
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns the position of this column in a collection.
columnIndex?: number;
Property Value
number
Remarks
isFirst
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns true
if the column or row is the first one in the table; false
otherwise.
isFirst?: boolean;
Property Value
boolean
Remarks
isLast
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns true
if the column or row is the last one in the table; false
otherwise.
isLast?: boolean;
Property Value
boolean
Remarks
nestingLevel
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns the nesting level of the column.
nestingLevel?: number;
Property Value
number
Remarks
preferredWidth
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
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
preferredWidthType
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
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
shading
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns a ShadingUniversal
object that refers to the shading formatting for the column.
shading?: Word.Interfaces.ShadingUniversalData;
Property Value
Remarks
width
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the width of the column, in points.
width?: number;
Property Value
number