# BorderProperties

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / BorderProperties

# Type Alias: BorderProperties

> **BorderProperties** = `object`

Defines properties of the annotation's border, allowing set a border in "json" form.

## Example

```ts
let la = new LinkAnnotation();
l.border = { width: 0};
```

## Properties

### color?

> `optional` **color**: [`Color`](Color)

The border color.
Not specified means "Black".

***

### dashPattern?

> `optional` **dashPattern**: `number`[]

The dash pattern, used if [style](#style) == [BorderStyle#Dashed](../enumerations/BorderStyle#dashed).

***

### style?

> `optional` **style**: [`BorderStyle`](../enumerations/BorderStyle)

The border style.
Not specified means BorderStyle.Solid

***

### width?

> `optional` **width**: `number`

The border's width in points (1/72 inch).
Not specified means 1.
