HeightRule
Overview
HeightRule is an enum in Aspose.Words FOSS for Java.
Specifies the rule for determining the height of an object.
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 HeightRule 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 |
|---|---|
AT_LEAST | The height will be at least the specified height in points. |
EXACTLY | The height is specified exactly in points. |
AUTO | The height will grow automatically to accommodate all text inside an object. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of HeightRule values. |
Methods
| Signature | Description |
|---|---|
getName(heightRule: int) → String | Returns JAVA_STYLE string representation of integer HeightRule value. |
toString(heightRule: int) → String | Returns DotNetStyle string representation of integer HeightRule value. |
fromName(heightRuleName: String) → int | Returns integer representation by HeightRule name. |
getValues() → int[] | Returns array of HeightRule values. |