AutoFitBehavior
Overview
AutoFitBehavior is an enum in Aspose.Words FOSS for Java.
Determines how Aspose.Words resizes the table when you invoke the Table.autoFit() method.
Edition status of its 8 listed members (a property and its accessor methods are listed separately, overloads once): 8 not yet exercised by a verified example.
This enum declares 4 methods for AutoFitBehavior objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
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. |
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. |
FIXED_COLUMN_WIDTHS | Aspose.Words disables the AutoFit option and removes the preferred with from the table. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of AutoFitBehavior values. |
Methods
| Signature | Description |
|---|---|
getName(autoFitBehavior: int) → String | Returns JAVA_STYLE string representation of integer AutoFitBehavior value. |
toString(autoFitBehavior: int) → String | Returns DotNetStyle string representation of integer AutoFitBehavior value. |
fromName(autoFitBehaviorName: String) → int | Returns integer representation by AutoFitBehavior name. |
getValues() → int[] | Returns array of AutoFitBehavior values. |