We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Convert Excel to other formats

Thread ID:





69693 Nov 8,2007 10:22 AM UTC Nov 27,2012 01:14 PM UTC ASP.NET Web Forms (Classic) 4
Tags: XlsIO
Asked On November 8, 2007 10:22 AM UTC

Can an Excel file be exported to another format?

I need an Excel file to end up in a PDF document. Since the PDF component can import HTML and images, is it possible to convert the Excel file to any of these formats, and then import it to the PDF document?

Sri Subhashini M [Syncfusion]
Replied On November 9, 2007 09:12 AM UTC


I regret to let you know that currently we do not provide support for this feature "Exporting Excel into PDF format in XlsIO". We have notified our development team on this regard and will get back to you once we hear back from them.


Chad Dunham
Replied On February 13, 2009 11:00 PM UTC

I was wondering if anything was ever added in with this? Basically I have some excel sheets that I would like to programmatic convert to those to PDF for display purposes.



Bhuvaneswari P [Syncfusion]
Replied On February 16, 2009 12:43 PM UTC

Hi Chad,

We don't have direct option for this feature. However, as a workaround we can achieve this by converting the Worksheet as image and insert this image into the PDF document. Worksheet to image feature is partially completed in our latest version V7.1.0.21. Also we have implemented option to convert Worksheet to EMF image, currently it’s under testing. This feature will be available in our next weekly development build.

Code snippet:
// Convert the worksheet to image
Image img = sheet.ConvertToImage(1, 1, 33, 7);

//To insert Image into PDF file
PdfPage page = section.Pages.Add();
PdfGraphics g = page.Graphics;
PdfImage image = new PdfBitmap(img);
g.DrawImage(image, 80, 40);

Here is the simple sample for Worksheet ->Image -> PDF:


Here is the documentation link for more details:


Please try this and let us know if this helps you.

Best Regards,

Administrator [Syncfusion]
Replied On November 27, 2012 01:14 PM UTC



It Shows Runtime Error.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon