BorderType

Overview

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

Specifies sides of a border.

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

This enum declares 4 methods for BorderType 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
NONEDefault value.
BOTTOMSpecifies the bottom border of a paragraph or a table cell.
LEFTSpecifies the left border of a paragraph or a table cell.
RIGHTSpecifies the right border of a paragraph or a table cell.
TOPSpecifies the top border of a paragraph or a table cell.
HORIZONTALSpecifies the horizontal border between cells in a table or between conforming paragraphs.
VERTICALSpecifies the vertical border between cells in a table.
DIAGONAL_DOWNSpecifies the diagonal border in a table cell.
DIAGONAL_UPSpecifies the diagonal border in a table cell.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of BorderType values.

Methods

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

See Also