RelativeVerticalSize
Overview
RelativeVerticalSize is an enum in Aspose.Words FOSS for Java.
Specifies relatively to what the height of a shape or a text frame is calculated vertically.
Edition status of its 12 listed members (a property and its accessor methods are listed separately, overloads once): 12 not yet exercised by a verified example.
This enum declares 4 methods for RelativeVerticalSize 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 |
|---|---|
MARGIN | Specifies that the height is calculated relatively to the space between the top and the bottom margins. |
PAGE | Specifies that the height is calculated relatively to the page height. |
TOP_MARGIN | Specifies that the height is calculated relatively to the top margin area size. |
BOTTOM_MARGIN | Specifies that the height is calculated relatively to the bottom margin area size. |
INNER_MARGIN | Specifies that the height is calculated relatively to the inside margin area size, to the top margin area size for odd pages and to the bottom margin area size for even pages. |
OUTER_MARGIN | Specifies that the height is calculated relatively to the outside margin area size, to the bottom margin area size for odd pages and to the top margin area size for even pages. |
DEFAULT | Default value is MARGIN. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of RelativeVerticalSize values. |
Methods
| Signature | Description |
|---|---|
getName(relativeVerticalSize: int) → String | Returns JAVA_STYLE string representation of integer RelativeVerticalSize value. |
toString(relativeVerticalSize: int) → String | Returns DotNetStyle string representation of integer RelativeVerticalSize value. |
fromName(relativeVerticalSizeName: String) → int | Returns integer representation by RelativeVerticalSize name. |
getValues() → int[] | Returns array of RelativeVerticalSize values. |