java.lang.Objectcom.aspose.words.AutoFitBehavior
public class AutoFitBehavior
Field Summary | ||
---|---|---|
static final int | AUTO_FIT_TO_CONTENTS | |
Aspose.Words enables the AutoFit option, removes the preferred width from the table and all cells and then updates the table layout. In the resulting table, cell widths are updated to fit the table contents. Most likely, the table will shrink. |
||
static final int | AUTO_FIT_TO_WINDOW | |
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. As a result, the table occupies all available width and the cell widths are updated to fit table contents. |
||
static final int | FIXED_COLUMN_WIDTHS | |
Aspose.Words disables the AutoFit option and removes the preferred with from the table. The widths of the cells remain as they are specified by their |
Field Detail |
---|
AUTO_FIT_TO_CONTENTS = 0 | |
public static final int AUTO_FIT_TO_CONTENTS |
Aspose.Words enables the AutoFit option, removes the preferred width from the table and all cells and then updates the table layout.
In the resulting table, cell widths are updated to fit the table contents. Most likely, the table will shrink.
AUTO_FIT_TO_WINDOW = 1 | |
public static final int AUTO_FIT_TO_WINDOW |
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.
As a result, the table occupies all available width and the cell widths are updated to fit table contents.
FIXED_COLUMN_WIDTHS = 2 | |
public static final int FIXED_COLUMN_WIDTHS |
Aspose.Words disables the AutoFit option and removes the preferred with from the table.
The widths of the cells remain as they are specified by their