PdfAnnotationLineEndingStyle
class represents the line ending styles of annotations.
// Load an existing PDF document
let document: PdfDocument = new PdfDocument(data, password);
// Get the first page
let page: PdfPage = document.getPage(0) as PdfPage;
// Get the first annotation of the page
let annotation: PdfLineAnnotation = page.annotations.at(0) as PdfLineAnnotation;
// Initializes a new instance of the `PdfAnnotationLineEndingStyle` class.
annotation.lineEndingStyle = new PdfAnnotationLineEndingStyle(PdfLineEndingStyle.openArrow, PdfLineEndingStyle.closeArrow);
// Destroy the document
document.destroy();
PdfLineEndingStyle
Gets the begin line ending style of the annotation.
PdfLineEndingStyle
Gets the begin line ending style of the annotation.