Public enum to define a list marker alignment
// Load an existing document
let document: PdfDocument = new PdfDocument(data);
// Access the first page
let page: PdfPage = document.getPage(0);
// Add each item to the item collection by passing the string array
let items: PdfListitemCollection = new PdfListitemCollection(['Excel', 'Power', 'Point', 'Word', 'PDF']);
// Create a new ordered list and passing the list item collection
let list: PdfOrderedList = new PdfOrderedList(items);
// Set the marker alignment
list.alignment = PdfListMarkerAlignment.left;
// Draw the ordered list
list.draw(page, 0, 20, 500, 700);
// Save the document
document.save('output.pdf');
// Destroy the document
document.destroy();
```
* `left` - Left alignment for marker.
* `right` - Right alignment for marker.