/ PDF / PdfInteractiveBorder
Search results

PdfInteractiveBorder API in JavaScript (ES5) PDF API control

PdfInteractiveBorder class represents the border of the field.

// Load an existing PDF document
let document: PdfDocument = new PdfDocument(data, password);
// Get the PDF form field
let field: PdfField = document.form.fieldAt(0);
// Gets the width of the field border.
let width: number = field.border.width;
// Destroy the document
document.destroy();

Properties

dash Array

Gets the dash pattern of the field border.

style PdfBorderStyle

Gets the border line style of the field border.

width number

Gets the width of the field border.