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
| Value | Description |
|---|---|
NONE | Default value. |
BOTTOM | Specifies the bottom border of a paragraph or a table cell. |
LEFT | Specifies the left border of a paragraph or a table cell. |
RIGHT | Specifies the right border of a paragraph or a table cell. |
TOP | Specifies the top border of a paragraph or a table cell. |
HORIZONTAL | Specifies the horizontal border between cells in a table or between conforming paragraphs. |
VERTICAL | Specifies the vertical border between cells in a table. |
DIAGONAL_DOWN | Specifies the diagonal border in a table cell. |
DIAGONAL_UP | Specifies the diagonal border in a table cell. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of BorderType values. |
Methods
| Signature | Description |
|---|---|
getName(borderType: int) → String | Returns JAVA_STYLE string representation of integer BorderType value. |
toString(borderType: int) → String | Returns DotNetStyle string representation of integer BorderType value. |
fromName(borderTypeName: String) → int | Returns integer representation by BorderType name. |
getValues() → int[] | Returns array of BorderType values. |