Public Enum to define line indent.
// 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: PdfLineAnnotation = page.annotations.at(0) as PdfLineAnnotation;
// Sets the line intent as lineArrow
annotation.lineIntent = PdfLineIntent.lineArrow;
// Save the document
document.save('output.pdf');
// Destroy the document
document.destroy();
lineArrow
- Specifies the type of lineArrow
.lineDimension
- Specifies the type of lineDimension
.