PdfBorderEffectStyle
12 Sep 20251 minute to read
Public Enum to define border effect 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 effect as underline
annotation.borderEffect.style = PdfBorderEffectStyle.cloudy;
// Save the document
document.save('output.pdf');
// Destroy the document
document.destroy();-
cloudy- Specifies the type ofcloudy. -
solid- Specifies the type ofsolid.