RelativeHorizontalPosition
Overview
RelativeHorizontalPosition is an enum in Aspose.Words FOSS for Java.
Specifies to what the horizontal position of a shape or text frame is relative.
Edition status of its 14 listed members (a property and its accessor methods are listed separately, overloads once): 14 not yet exercised by a verified example.
This enum declares 4 methods for RelativeHorizontalPosition 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 horizontal positioning shall be relative to the page margins. |
PAGE | The object is positioned relative to the left edge of the page. |
COLUMN | The object is positioned relative to the left side of the column. |
CHARACTER | The object is positioned relative to the left side of the paragraph. |
LEFT_MARGIN | Specifies that the horizontal positioning shall be relative to the left margin of the page. |
RIGHT_MARGIN | Specifies that the horizontal positioning shall be relative to the right margin of the page. |
INSIDE_MARGIN | Specifies that the horizontal positioning shall be relative to the inside margin of the current page (the left margin on odd pages, right on even pages). |
OUTSIDE_MARGIN | Specifies that the horizontal positioning shall be relative to the outside margin of the current page (the right margin on odd pages, left on even pages). |
DEFAULT | Default value is COLUMN. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of RelativeHorizontalPosition values. |
Methods
| Signature | Description |
|---|---|
getName(relativeHorizontalPosition: int) → String | Returns JAVA_STYLE string representation of integer RelativeHorizontalPosition value. |
toString(relativeHorizontalPosition: int) → String | Returns DotNetStyle string representation of integer RelativeHorizontalPosition value. |
fromName(relativeHorizontalPositionName: String) → int | Returns integer representation by RelativeHorizontalPosition name. |
getValues() → int[] | Returns array of RelativeHorizontalPosition values. |