RelativeHorizontalSize

RelativeHorizontalSize

Overview

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

Specifies relatively to what the width of a shape or a text frame is calculated horizontally.

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 RelativeHorizontalSize 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 width is calculated relatively to the space between the left and the right margins.
PAGESpecifies that the width is calculated relatively to the page width.
LEFT_MARGINSpecifies that the width is calculated relatively to the left margin area size.
RIGHT_MARGINSpecifies that the width is calculated relatively to the right margin area size.
INNER_MARGINSpecifies that the width is calculated relatively to the inside margin area size, to the left margin area size for odd pages and to the right margin area size for even pages.
OUTER_MARGINSpecifies that the width is calculated relatively to the outside margin area size, to the right margin area size for odd pages and to the left margin area size for even pages.
DEFAULTDefault value is MARGIN.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of RelativeHorizontalSize values.

Methods

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

See Also