How can I help you?
PdfInteractiveBorder
6 Feb 20261 minute to read
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
Get dash Array
Gets the dash pattern of the field border.
Set dash void
Sets the dash pattern of the field border.
| Parameter | Type | Description |
|---|---|---|
| value | Array |
Dash pattern. |
Get style PdfBorderStyle
Gets the border line style of the field border.
Set style void
Sets the border line style of the field border.
| Parameter | Type | Description |
|---|---|---|
| value | PdfBorderStyle |
Border style. |
Get width number
Gets the width of the field border.
Set width void
Sets the width of the field border.
| Parameter | Type | Description |
|---|---|---|
| value | number |
Width. |