HeightRule

Overview

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

Specifies the rule for determining the height of an object.

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

This enum declares 4 methods for HeightRule 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
AT_LEASTThe height will be at least the specified height in points.
EXACTLYThe height is specified exactly in points.
AUTOThe height will grow automatically to accommodate all text inside an object.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of HeightRule values.

Methods

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

See Also