TableAllowAutoFit Property

Allows Microsoft Word and Aspose.Words to automatically resize cells in a table to fit their contents.

Namespace:  Aspose.Words.Tables
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public bool AllowAutoFit { get; set; }

Property Value

Type: Boolean
Remarks

The default value is true.

Examples
Shows how to set a table to shrink or grow each cell to accommodate its contents.
table.AllowAutoFit = true;
See Also