VerticalAlignment

VerticalAlignment

Overview

VerticalAlignment is an enum in Aspose.Words FOSS for Java.

Specifies vertical alignment of a floating shape, text frame or a floating table.

Edition status of its 13 listed members (a property and its accessor methods are listed separately, overloads once): 13 not yet exercised by a verified example.

This enum declares 4 methods for VerticalAlignment 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
NONEThe object is explicitly positioned, usually using its Top property.
TOPSpecifies that the object shall be at the top of the vertical alignment base.
CENTERSpecifies that the object shall be centered with respect to the vertical alignment base.
BOTTOMSpecifies that the object shall be at the bottom of the vertical alignment base.
INSIDESpecifies that the object shall be inside of the horizontal alignment base.
OUTSIDESpecifies that the object shall be outside of the vertical alignment base.
INLINENot documented.
DEFAULTSame as NONE.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of VerticalAlignment values.

Methods

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

See Also