What’s new in this release?

In past, you have had to use Aspose.Cells and Aspose.Pdf for converting Excel files to PDF but now it is possible by using current version 4.7.0 of Aspose.Cells only. This version further supports: Inserting a WAV file as OLE object, reading or writing check boxes in Excel 2007 files and many other hot features for spreadsheet reporting.

You will utilize the overloaded Save method of the Workbook class providing the FileFormatType.Pdf enum member that converts the native excel file to pdf format.

The above steps are implemented in the following example

[C#]

//Instantiate the Workbook object
Workbook workbook = new Workbook();

//Open an excel file
workbook.Open("f:\\test\\Input.xls");

//Save the document in Pdf format
workbook.Save("f:\\test\\Output.pdf", FileFormatType.Pdf);

[VB.NET]

'Instantiate the Workbook object
Dim workbook As Workbook = New Workbook()

'Open an excel file
workbook.Open("f:\test\Input.xls")

'Save the document in Pdf format
workbook.Save("f:\test\Output.pdf", FileFormatType.Pdf)

More about Aspose.Cells for .NET

Aspose.Cells is a .NET component for spreadsheet reporting without using Microsoft Excel. It supports robust formula calculation engine, pivot tables, VBA, workbook encryption, named ranges, spreadsheet formatting, drawing objects like images, OLE objects and importing or creating charts. You can also create Excel file using designer spreadsheet, smart marker or API and apply formulae and functions. It supports CSV, SpreadsheetML, PDF and all file formats from Excel 97 to Excel 2007.

- Converting Excel files to PDF (Directly).
- Homepage of Aspose.Cells for .NET.
- Download Aspose.Cells for .NET.
- Read online documentation of Aspose.Cells for .NET.
- View demos of Aspose.Cells for .NET.
- Post your technical questions/queries to Aspose.Cells Forum.
- Receive notifications about latest news and supported features by subscribing to Aspose.Cells blog.

Contact Information
Suite 119, 272 Victoria Avenue
Chatswood, NSW, 2067
Australia
Aspose - The .NET and Java component publisher
sales@aspose.com
Phone: 888.277.6734
Fax: 866.810.94651