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
| Value | Description |
|---|---|
AT_LEAST | The line spacing can be greater than or equal to, but never less than, the value specified in the ParagraphFormat.getLineSpacing() property. |
EXACTLY | The line spacing never changes from the value specified in the ParagraphFormat.getLineSpacing() property, even if a larger font is used within the paragraph. |
MULTIPLE | The line spacing is specified in the ParagraphFormat.getLineSpacing() property as the number of lines. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of LineSpacingRule values. |
Methods
| Signature | Description |
|---|---|
getName(lineSpacingRule: int) → String | Returns JAVA_STYLE string representation of integer LineSpacingRule value. |
toString(lineSpacingRule: int) → String | Returns DotNetStyle string representation of integer LineSpacingRule value. |
fromName(lineSpacingRuleName: String) → int | Returns integer representation by LineSpacingRule name. |
getValues() → int[] | Returns array of LineSpacingRule values. |