Word.Interfaces.TableStyleLoadOptions interface

Represents the TableStyle object.

Remarks

[ API set: WordApi 1.6 ]

Properties

$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).

alignment

Specifies the table's alignment against the page margin.

allowBreakAcrossPage

Specifies whether lines in tables formatted with a specified style break across pages.

bottomCellMargin

Specifies the amount of space to add between the contents and the bottom borders of the cells.

cellSpacing

Specifies the spacing (in points) between the cells in a table style.

leftCellMargin

Specifies the amount of space to add between the contents and the left borders of the cells.

rightCellMargin

Specifies the amount of space to add between the contents and the right borders of the cells.

topCellMargin

Specifies the amount of space to add between the contents and the top borders of the cells.

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

alignment

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 table's alignment against the page margin.

alignment?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

allowBreakAcrossPage

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 whether lines in tables formatted with a specified style break across pages.

allowBreakAcrossPage?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

bottomCellMargin

Specifies the amount of space to add between the contents and the bottom borders of the cells.

bottomCellMargin?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.6 ]

cellSpacing

Specifies the spacing (in points) between the cells in a table style.

cellSpacing?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.6 ]

leftCellMargin

Specifies the amount of space to add between the contents and the left borders of the cells.

leftCellMargin?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.6 ]

rightCellMargin

Specifies the amount of space to add between the contents and the right borders of the cells.

rightCellMargin?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.6 ]

topCellMargin

Specifies the amount of space to add between the contents and the top borders of the cells.

topCellMargin?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi 1.6 ]