AutoFitBehavior
Overview
AutoFitBehavior is an enum in Aspose.Words FOSS for .NET.
Determines how Aspose.Words resizes the table when you invoke the AutoFit method.
This enumeration defines 3 values: AutoFitToContents, AutoFitToWindow, FixedColumnWidths.
Values
| Value | Description |
|---|---|
AutoFitToContents | Aspose.Words enables the AutoFit option, removes the preferred width from the table and all cells and then updates the table layout. |
AutoFitToWindow | When you use this value, Aspose.Words enables the AutoFit option, sets the preferred width for the table to 100%, removes preferred widths from all cells and then updates the table layout. |
FixedColumnWidths | Aspose.Words disables the AutoFit option and removes the preferred with from the table. |