RelativeHorizontalPosition

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

ValueDescription
MARGINSpecifies that the horizontal positioning shall be relative to the page margins.
PAGEThe object is positioned relative to the left edge of the page.
COLUMNThe object is positioned relative to the left side of the column.
CHARACTERThe object is positioned relative to the left side of the paragraph.
LEFT_MARGINSpecifies that the horizontal positioning shall be relative to the left margin of the page.
RIGHT_MARGINSpecifies that the horizontal positioning shall be relative to the right margin of the page.
INSIDE_MARGINSpecifies 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_MARGINSpecifies 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).
DEFAULTDefault value is COLUMN.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of RelativeHorizontalPosition values.

Methods

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

See Also