AutoFitBehavior

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

ValueDescription
AutoFitToContentsAspose.Words enables the AutoFit option, removes the preferred width from the table and all cells and then updates the table layout.
AutoFitToWindowWhen 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.
FixedColumnWidthsAspose.Words disables the AutoFit option and removes the preferred with from the table.

See Also

 English