public final class AutoFitBehavior
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static 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.
|
static 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.
|
static int |
FIXED_COLUMN_WIDTHS
Aspose.Words disables the AutoFit option and removes the preferred with from the table.
|
static int |
length |
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String autoFitBehaviorName) |
static java.lang.String |
getName(int autoFitBehavior) |
static int[] |
getValues() |
static java.lang.String |
toString(int autoFitBehavior) |
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.
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.
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 CellFormat.getWidth() / CellFormat.setWidth(double) properties.
public static final int length