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

Incorrect conversion from an excel file to pdf

Thread ID:





107088 Feb 12,2013 02:47 PM UTC Feb 20,2013 08:47 AM UTC ASP.NET Web Forms (Classic) 3
Tags: XlsIO
Administrator [Syncfusion]
Asked On February 12, 2013 02:47 PM UTC

We are trying to convert an excel file to pdf (using Syncfusion.ExcelToPDFConverter.Base.dll v 10.404.0.71, .NET Framework 4.0 and C#). The issue is that the background in xlsx file is 60 degree rotated, but in output pdf document it's displayed not rotated.
Here's the part of code that converts the file:

string xlsxFileName = "C:\\bend-header.xlsx",
pdfFileName = "C:\\syncfusion-10-bend-header.pdf";
var wb = ExcelUtils.Open(xlsxFileName);
var converter = new ExcelToPdfConverter(wb);
var pdfDoc = converter.Convert(new ExcelToPdfConverterSettings());

Attached are sample files:

- input file 'bend-header.xlsx';
- output file 'syncfusion-10-bend-header.pdf' received with the help of Syncfusion library;
- the desired output we'd like to get 'excel-bend-header.pdf' (received manually by selecting File -> Save As -> type pdf in MS Excel 2013 application).

 Can you advice on how to make the cells background in pdf file look the same as in xlsx file?

Thank you for your help!


Sridhar [Syncfusion]
Replied On February 14, 2013 03:29 PM UTC


Thank you for using Syncfusion products.

We are able to see the cell rotation issue at our side while converting the excel file to an PDF document. We have forwarded to the development team for further analysis on this issue.
We will get back to you with  analysis details in two business days (18th February 2013).

Please let me know if you require any further clarifications.


Administrator [Syncfusion]
Replied On February 19, 2013 01:33 PM UTC

Waiting for answer. Please let me know you need more details 

Thank you for your help!

Sridhar [Syncfusion]
Replied On February 20, 2013 08:47 AM UTC



Thank you for the update.


We are using Essential XlsiO for retirieving the data, styles from the worksheet and Essential PDF for rendering the data,cells ,styels etc,.. We could see the above issue is rendering with PDF to apply skew transformation for rectangle and it requires more  complex mathmatical calculation to apply the exact skew transformation.

So, we have logged this as an feature request and forwarded to the development team for futher analysis. We will get back to you once it has been implemented.


Please let me know if you require any further clarifications.




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