---
title: "BorderStyle"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/borderstyle/"
product: "Aspose.PDF for Java API Reference"
description: "Describes style of the annotation border."
---

**Inheritance:**
java.lang.Object, java.lang.Enum < BorderStyle > com.aspose.pdf.BorderStyle, java.lang.Enum < BorderStyle >, com.aspose.pdf.BorderStyle

**All Implemented Interfaces:**
Serializable, Comparable < BorderStyle >

```
public enum BorderStyle extends Enum < BorderStyle >
```

Describes style of the annotation border.

## Fields

| Field | Description |
| --- | --- |
| [Beveled](#Beveled) | Bevelled border. |
| [Dashed](#Dashed) | Dashed border. |
| [Inset](#Inset) | Inset border. |
| [Solid](#Solid) | Solid border. |
| [Underline](#Underline) | Underlined border. |

## Methods

| Method | Description |
| --- | --- |
| [getByValue](#getByValue-int-) |  |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Beveled {#Beveled}
```
public static final BorderStyle Beveled
```

Bevelled border.

### Dashed {#Dashed}
```
public static final BorderStyle Dashed
```

Dashed border.

### Inset {#Inset}
```
public static final BorderStyle Inset
```

Inset border.

### Solid {#Solid}
```
public static final BorderStyle Solid
```

Solid border.

### Underline {#Underline}
```
public static final BorderStyle Underline
```

Underlined border.

### getByValue {#getByValue-int-}
```
public static BorderStyle getByValue(int value)
```



**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  |  |

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static BorderStyle [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
