This example demonstrates how to use the XL Export API to generate the "List of Employees" document shown in the image below.
In particular, this example introduces API properties and methods used to perform the following operations:
- Create a new workbook
- Create and rename worksheets, and specify their visibility
- Create columns and rows, and adjust column width and row height
- Create cells and set their values
- Format cells (set cell font, background color, alignment, borders, number format, etc.)
- Specify print options (define the print area, set page margins, add headers and footers to a worksheet printout, adjust page settings)
- Apply data validation to worksheet cells