March 19th, 2009, 08:56 PM
Converting Excel files to PDF (Directly) using Aspose.Cells
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
//Instantiate the Workbook object
Workbook workbook = new Workbook();
//Open an excel file
//Save the document in Pdf format
'Instantiate the Workbook object
Dim workbook As Workbook = New Workbook()
'Open an excel file
'Save the document in Pdf format
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.
Suite 119, 272 Victoria Avenue
Chatswood, NSW, 2067
Aspose - The .NET and Java component publisher
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!