[]
        
(Showing Draft Content)

BorderProperties

DsPdfJS API v9.1.0


DsPdfJS API / BorderProperties

Type Alias: BorderProperties

BorderProperties = object

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

Example

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

Properties

color?

optional color: Color

The border color. Not specified means "Black".


dashPattern?

optional dashPattern: number[]

The dash pattern, used if style == BorderStyle#Dashed.


style?

optional style: 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.