Edit

Share via


Word.TableAutoFormatOptions interface

Represents the options for the Table.autoFormat method.

Remarks

[ API set: WordApiDesktop 1.4 ]

Properties

applyBorders

If provided, specifies whether to apply borders of the specified format. The default value is true.

applyColor

If provided, specifies whether to apply color of the specified format. The default value is true.

applyFirstColumn

If provided, specifies whether to apply first column formatting of the specified format. The default value is true.

applyFont

If provided, specifies whether to apply font of the specified format. The default value is true.

applyHeadingRows

If provided, specifies whether to apply heading row formatting of the specified format. The default value is true.

applyLastColumn

If provided, specifies whether to apply last column formatting of the specified format. The default value is false.

applyLastRow

If provided, specifies whether to apply last row formatting of the specified format. The default value is false.

applyShading

If provided, specifies whether to apply shading of the specified format. The default value is true.

autoFit

If provided, specifies whether to decrease the width of the table columns as much as possible without changing the way text wraps in the cells. The default value is true.

format

If provided, specifies the format to apply. The default value is simple1.

Property Details

applyBorders

If provided, specifies whether to apply borders of the specified format. The default value is true.

applyBorders?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

applyColor

If provided, specifies whether to apply color of the specified format. The default value is true.

applyColor?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

applyFirstColumn

If provided, specifies whether to apply first column formatting of the specified format. The default value is true.

applyFirstColumn?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

applyFont

If provided, specifies whether to apply font of the specified format. The default value is true.

applyFont?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

applyHeadingRows

If provided, specifies whether to apply heading row formatting of the specified format. The default value is true.

applyHeadingRows?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

applyLastColumn

If provided, specifies whether to apply last column formatting of the specified format. The default value is false.

applyLastColumn?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

applyLastRow

If provided, specifies whether to apply last row formatting of the specified format. The default value is false.

applyLastRow?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

applyShading

If provided, specifies whether to apply shading of the specified format. The default value is true.

applyShading?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

autoFit

If provided, specifies whether to decrease the width of the table columns as much as possible without changing the way text wraps in the cells. The default value is true.

autoFit?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

format

If provided, specifies the format to apply. The default value is simple1.

format?: Word.TableFormatType | "None" | "Simple1" | "Simple2" | "Simple3" | "Classic1" | "Classic2" | "Classic3" | "Classic4" | "Colorful1" | "Colorful2" | "Colorful3" | "Columns1" | "Columns2" | "Columns3" | "Columns4" | "Columns5" | "Grid1" | "Grid2" | "Grid3" | "Grid4" | "Grid5" | "Grid6" | "Grid7" | "Grid8" | "List1" | "List2" | "List3" | "List4" | "List5" | "List6" | "List7" | "List8" | "ThreeDEffects1" | "ThreeDEffects2" | "ThreeDEffects3" | "Contemporary" | "Elegant" | "Professional" | "Subtle1" | "Subtle2" | "Web1" | "Web2" | "Web3";

Property Value

Word.TableFormatType | "None" | "Simple1" | "Simple2" | "Simple3" | "Classic1" | "Classic2" | "Classic3" | "Classic4" | "Colorful1" | "Colorful2" | "Colorful3" | "Columns1" | "Columns2" | "Columns3" | "Columns4" | "Columns5" | "Grid1" | "Grid2" | "Grid3" | "Grid4" | "Grid5" | "Grid6" | "Grid7" | "Grid8" | "List1" | "List2" | "List3" | "List4" | "List5" | "List6" | "List7" | "List8" | "ThreeDEffects1" | "ThreeDEffects2" | "ThreeDEffects3" | "Contemporary" | "Elegant" | "Professional" | "Subtle1" | "Subtle2" | "Web1" | "Web2" | "Web3"

Remarks

[ API set: WordApiDesktop 1.4 ]