RelativeHorizontalSize
Overview
RelativeHorizontalSize is an enum in Aspose.Words FOSS for Java.
Specifies relatively to what the width of a shape or a text frame is calculated horizontally.
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 RelativeHorizontalSize 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 width is calculated relatively to the space between the left and the right margins. |
PAGE | Specifies that the width is calculated relatively to the page width. |
LEFT_MARGIN | Specifies that the width is calculated relatively to the left margin area size. |
RIGHT_MARGIN | Specifies that the width is calculated relatively to the right margin area size. |
INNER_MARGIN | Specifies that the width is calculated relatively to the inside margin area size, to the left margin area size for odd pages and to the right margin area size for even pages. |
OUTER_MARGIN | Specifies that the width is calculated relatively to the outside margin area size, to the right margin area size for odd pages and to the left margin area size for even pages. |
DEFAULT | Default value is MARGIN. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of RelativeHorizontalSize values. |
Methods
| Signature | Description |
|---|---|
getName(relativeHorizontalSize: int) → String | Returns JAVA_STYLE string representation of integer RelativeHorizontalSize value. |
toString(relativeHorizontalSize: int) → String | Returns DotNetStyle string representation of integer RelativeHorizontalSize value. |
fromName(relativeHorizontalSizeName: String) → int | Returns integer representation by RelativeHorizontalSize name. |
getValues() → int[] | Returns array of RelativeHorizontalSize values. |