
**Inheritance:**
java.lang.Object
```
public final class BorderType
```

Enumerates the border line and diagonal line types.
## Fields

| Field | Description |
| --- | --- |
| [BOTTOM_BORDER](#BOTTOM-BORDER) | Represents bottom border line. |
| [DIAGONAL](#DIAGONAL) | Special combination of multiple borders for user's convenience for some APIs. |
| [DIAGONAL_DOWN](#DIAGONAL-DOWN) | Represents the diagonal line from top left to right bottom. |
| [DIAGONAL_UP](#DIAGONAL-UP) | Represents the diagonal line from bottom left to right top. |
| [DYNAMIC_STYLE_BORDERS](#DYNAMIC-STYLE-BORDERS) | Indicates [VERTICAL](../../com.aspose.cells/bordertype\#VERTICAL) and [HORIZONTAL](../../com.aspose.cells/bordertype\#HORIZONTAL) of dynamic style. |
| [HORIZONTAL](#HORIZONTAL) | Only for dynamic style, such as conditional formatting,pivot table. |
| [LEFT_BORDER](#LEFT-BORDER) | Represents left border line. |
| [NONE](#NONE) | No border has been specified. |
| [RIGHT_BORDER](#RIGHT-BORDER) | Represents right border line exists. |
| [SIDE_BORDERS](#SIDE-BORDERS) | Indicates the four side borders: [LEFT\_BORDER](../../com.aspose.cells/bordertype\#LEFT-BORDER), [RIGHT\_BORDER](../../com.aspose.cells/bordertype\#RIGHT-BORDER), [TOP\_BORDER](../../com.aspose.cells/bordertype\#TOP-BORDER) and [BOTTOM\_BORDER](../../com.aspose.cells/bordertype\#BOTTOM-BORDER). |
| [TOP_BORDER](#TOP-BORDER) | Represents top border line. |
| [VERTICAL](#VERTICAL) | Only for dynamic style, such as conditional formatting,pivot table. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### BOTTOM_BORDER {#BOTTOM-BORDER}
```
public static final int BOTTOM_BORDER
```


Represents bottom border line.

### DIAGONAL {#DIAGONAL}
```
public static final int DIAGONAL
```


Special combination of multiple borders for user's convenience for some APIs. Indicates diagonal borders of [DIAGONAL\_UP](../../com.aspose.cells/bordertype\#DIAGONAL-UP) and [DIAGONAL\_DOWN](../../com.aspose.cells/bordertype\#DIAGONAL-DOWN).

**Remarks**

It is combination of multiple borders for user's convenience and can only be used for some APIs that accept multiple border types.

### DIAGONAL_DOWN {#DIAGONAL-DOWN}
```
public static final int DIAGONAL_DOWN
```


Represents the diagonal line from top left to right bottom.

### DIAGONAL_UP {#DIAGONAL-UP}
```
public static final int DIAGONAL_UP
```


Represents the diagonal line from bottom left to right top.

### DYNAMIC_STYLE_BORDERS {#DYNAMIC-STYLE-BORDERS}
```
public static final int DYNAMIC_STYLE_BORDERS
```


Indicates [VERTICAL](../../com.aspose.cells/bordertype\#VERTICAL) and [HORIZONTAL](../../com.aspose.cells/bordertype\#HORIZONTAL) of dynamic style.

**Remarks**

It is combination of multiple borders for user's convenience and can only be used for some APIs that accept multiple border types.

### HORIZONTAL {#HORIZONTAL}
```
public static final int HORIZONTAL
```


Only for dynamic style, such as conditional formatting,pivot table.

### LEFT_BORDER {#LEFT-BORDER}
```
public static final int LEFT_BORDER
```


Represents left border line.

### NONE {#NONE}
```
public static final int NONE
```


No border has been specified.

**Remarks**

It can only be used for some APIs that accept none or multiple border types.

### RIGHT_BORDER {#RIGHT-BORDER}
```
public static final int RIGHT_BORDER
```


Represents right border line exists.

### SIDE_BORDERS {#SIDE-BORDERS}
```
public static final int SIDE_BORDERS
```


Indicates the four side borders: [LEFT\_BORDER](../../com.aspose.cells/bordertype\#LEFT-BORDER), [RIGHT\_BORDER](../../com.aspose.cells/bordertype\#RIGHT-BORDER), [TOP\_BORDER](../../com.aspose.cells/bordertype\#TOP-BORDER) and [BOTTOM\_BORDER](../../com.aspose.cells/bordertype\#BOTTOM-BORDER).

**Remarks**

It is combination of multiple borders for user's convenience and can only be used for some APIs that accept multiple border types.

### TOP_BORDER {#TOP-BORDER}
```
public static final int TOP_BORDER
```


Represents top border line.

### VERTICAL {#VERTICAL}
```
public static final int VERTICAL
```


Only for dynamic style, such as conditional formatting,pivot table.

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

