RelativeVerticalSize

RelativeVerticalSize

Overview

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

Specifies relatively to what the height of a shape or a text frame is calculated vertically.

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

This enum declares 4 methods for RelativeVerticalSize 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 height is calculated relatively to the space between the top and the bottom margins.
PAGESpecifies that the height is calculated relatively to the page height.
TOP_MARGINSpecifies that the height is calculated relatively to the top margin area size.
BOTTOM_MARGINSpecifies that the height is calculated relatively to the bottom margin area size.
INNER_MARGINSpecifies that the height is calculated relatively to the inside margin area size, to the top margin area size for odd pages and to the bottom margin area size for even pages.
OUTER_MARGINSpecifies that the height is calculated relatively to the outside margin area size, to the bottom margin area size for odd pages and to the top margin area size for even pages.
DEFAULTDefault value is MARGIN.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of RelativeVerticalSize values.

Methods

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

See Also