Word.TableAutoFormatOptions interface
Represents the options for the Table.autoFormat method.
Remarks
Properties
| apply |
If provided, specifies whether to apply borders of the specified format. The default value is |
| apply |
If provided, specifies whether to apply color of the specified format. The default value is |
| apply |
If provided, specifies whether to apply first column formatting of the specified format. The default value is |
| apply |
If provided, specifies whether to apply font of the specified format. The default value is |
| apply |
If provided, specifies whether to apply heading row formatting of the specified format. The default value is |
| apply |
If provided, specifies whether to apply last column formatting of the specified format. The default value is |
| apply |
If provided, specifies whether to apply last row formatting of the specified format. The default value is |
| apply |
If provided, specifies whether to apply shading of the specified format. The default value is |
| auto |
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 |
| format | If provided, specifies the format to apply. The default value is |
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
applyColor
If provided, specifies whether to apply color of the specified format. The default value is true.
applyColor?: boolean;
Property Value
boolean
Remarks
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
applyFont
If provided, specifies whether to apply font of the specified format. The default value is true.
applyFont?: boolean;
Property Value
boolean
Remarks
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
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
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
applyShading
If provided, specifies whether to apply shading of the specified format. The default value is true.
applyShading?: boolean;
Property Value
boolean
Remarks
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
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"