LineSpacingRule

LineSpacingRule

Overview

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

Specifies line spacing values for a paragraph.

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 LineSpacingRule 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 line spacing can be greater than or equal to, but never less than, the value specified in the ParagraphFormat.getLineSpacing() property.
EXACTLYThe line spacing never changes from the value specified in the ParagraphFormat.getLineSpacing() property, even if a larger font is used within the paragraph.
MULTIPLEThe line spacing is specified in the ParagraphFormat.getLineSpacing() property as the number of lines.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of LineSpacingRule values.

Methods

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

See Also