Public Enum to define border style.
// Load an existing PDF document
let document: PdfDocument = new PdfDocument(data, password);
// Access first page
let page: PdfPage = document.getPage(0);
// Access the annotation at index 0
let annotation: PdfAnnotation = page.annotations.at(0);
// Sets the border style as underline
annotation.border.style = PdfBorderStyle.underline;
// Save the document
document.save('output.pdf');
// Destroy the document
document.destroy();
beveled
- Specifies the type of beveled
.dashed
- Specifies the type of dashed
.dot
- Specifies the type of dot
.inset
- Specifies the type of inset
.solid
- Specifies the type of solid
.underline
- Specifies the type of underline
.