Public enum type to represent the ordered list style
// 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 ordered list number style for the list items
list.style = PdfNumberStyle.lowerLatin;
// Draw the ordered list
list.draw(page, 0, 20, 500, 700);
// Save the document
document.save('output.pdf');
// Destroy the document
document.destroy();
```
* `lowerLatin` - Specifies the style 'a'.
* `lowerRoman` - Specifies the style 'i'.
* `none` - No numbering at all.
* `numeric` - Specifies the type '1'.
* `upperLatin` - Specifies the style 'A'.
* `upperRoman` - Specifies the style 'I'.