HorizontalRuleAlignment

HorizontalRuleAlignment

Overview

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

Represents the alignment for the specified horizontal rule.

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 HorizontalRuleAlignment 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
LEFTAligned to the left.
CENTERAligned to the center.
RIGHTAligned to the right.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of HorizontalRuleAlignment values.

Methods

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

See Also