Convert Spreadsheet to PDF in xlsx4j
Contents
[
Hide
]
Aspose.Cells - Convert XLS to PDF
PDF documents are widely used as a standard format of exchanging documents between organizations, government sectors and individuals. Software developers are often asked to device a way to easily convert Microsoft Excel files into PDF documents. Aspose.Cells supports this features.
Java
Workbook workbook = new Workbook(dataDir + "workbook.xls");
//Save the document in PDF format
workbook.save(dataDir + "AsposeConvert.pdf", SaveFormat.PDF);
Download Running Code
Download Sample Code
For more details, visit Converting Excel to PDF Files.