RelativeVerticalPosition

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

ValueDescription
MARGINSpecifies that the vertical positioning shall be relative to the page margins.
PAGEThe object is positioned relative to the top edge of the page.
PARAGRAPHThe object is positioned relative to the top of the paragraph that contains the anchor.
LINEUndocumented.
TOP_MARGINSpecifies that the vertical positioning shall be relative to the top margin of the current page.
BOTTOM_MARGINSpecifies that the vertical positioning shall be relative to the bottom margin of the current page.
INSIDE_MARGINSpecifies that the vertical positioning shall be relative to the inside margin of the current page.
OUTSIDE_MARGINSpecifies that the vertical positioning shall be relative to the outside margin of the current page.
TABLE_DEFAULTDefault value is MARGIN.
TEXT_FRAME_DEFAULTDefault value is PARAGRAPH.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of RelativeVerticalPosition values.

Methods

SignatureDescription
getName(relativeVerticalPosition: int) → StringReturns JAVA_STYLE string representation of integer RelativeVerticalPosition value.
toString(relativeVerticalPosition: int) → StringReturns DotNetStyle string representation of integer RelativeVerticalPosition value.
fromName(relativeVerticalPositionName: String) → intReturns integer representation by RelativeVerticalPosition name.
getValues() → int[]Returns array of RelativeVerticalPosition values.

See Also