RelativeVerticalPosition
Overview
RelativeVerticalPosition is an enum in Aspose.Words FOSS for Java.
Specifies to what the vertical position of a shape or text frame is relative.
Edition status of its 15 listed members (a property and its accessor methods are listed separately, overloads once): 15 not yet exercised by a verified example.
This enum declares 4 methods for RelativeVerticalPosition 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 vertical positioning shall be relative to the page margins. |
PAGE | The object is positioned relative to the top edge of the page. |
PARAGRAPH | The object is positioned relative to the top of the paragraph that contains the anchor. |
LINE | Undocumented. |
TOP_MARGIN | Specifies that the vertical positioning shall be relative to the top margin of the current page. |
BOTTOM_MARGIN | Specifies that the vertical positioning shall be relative to the bottom margin of the current page. |
INSIDE_MARGIN | Specifies that the vertical positioning shall be relative to the inside margin of the current page. |
OUTSIDE_MARGIN | Specifies that the vertical positioning shall be relative to the outside margin of the current page. |
TABLE_DEFAULT | Default value is MARGIN. |
TEXT_FRAME_DEFAULT | Default value is PARAGRAPH. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of RelativeVerticalPosition values. |
Methods
| Signature | Description |
|---|---|
getName(relativeVerticalPosition: int) → String | Returns JAVA_STYLE string representation of integer RelativeVerticalPosition value. |
toString(relativeVerticalPosition: int) → String | Returns DotNetStyle string representation of integer RelativeVerticalPosition value. |
fromName(relativeVerticalPositionName: String) → int | Returns integer representation by RelativeVerticalPosition name. |
getValues() → int[] | Returns array of RelativeVerticalPosition values. |