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
Syntaxpublic bool AllowAutoFit { get; set; }
Public Property AllowAutoFit As Boolean
Get
Set
public:
property bool AllowAutoFit {
bool get ();
void set (bool value);
}
member AllowAutoFit : bool with get, set
Property Value
Type:
Boolean
RemarksThe default value is true.
ExamplesShows how to set a table to shrink or grow each cell to accommodate its contents.
table.AllowAutoFit = true;
See Also