Visual Basic .NET Forums  
Click here to advertise with us

Go Back   Visual Basic .NET Forums > Announcements > Vendor Announcements

Vendor Announcements News and Information from Vendors - New Product Releases, New Versions, ...(moderated)

VB.NET Forums Newsletter Signup:
Email address:


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-19-2009, 11:00 PM
VB.NET Forum Fanatic
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Jan 2007
Posts: 155
Reputation: 43
aspose_seo is on a distinguished programming path ahead
Thumbs up 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

[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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
excel, excel to pdf, excel2pdf, pdf, xls2pdf


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 1:44 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


For advertising opportunities click here.