Hello,
We are currently evaluating the Aspose.Cells .NET module. Even in our simplest tests the content of our Excel documents gets stretched when saved to PDF. This means that the ratios of all images and texts are changed by about 10% (wider than original document).
The code we used:
Workbook workbook = new Workbook(“Input.xlsx”);
Worksheet worksheet = workbook.Worksheets[0];
worksheet.PageSetup.Orientation = PageOrientationType.Portrait;
workbook.Save(“Output.pdf”);
We attached a basic example to this post (both Excel input and PDF output documents).
Thanks for help/support.
Hi,
Hello,
thank you for your reply. We attached both PDF documents and a picture in which the two documents are compared. You can see clearly that the content of the document converted by Aspose.Cells is pressed together and it is not the same as the expected output as the document converted by Excel.
Thank you for your help.
Hi,
Hello,
Thank you for your reply.
We attached a more detailed version of the comparison of the two documents. I hope our problem becomes more clear now. The page size of both documents is the same but the content is pressed together. The content may be similar but we need it to be accurately the same.
Thank you for your support.
Hi,
Hello,
We use MS Excel 2013.
We attached a picture that could help make our problem more clear. You see three different documents on the picture, number one is the excel document (in MS Excel 2013), number 2 is the Pdf document converted by MS Excel 2013 and number 3 is the pdf document coverted by Aspose.Cells. You can see no difference between number 1 and 2 but number 3 is pressed together. The shape should at least be a circle and not an oval. Could you offer us a suggestion on how to fix this scaling problem?
Thanks for your help.
Hi,
Hello,
yes we always used the same “Input.xlsx” file and we didn’t change anything at all before rendering it to PDF. We also used the same “Input.xlsx” file to render it with Aspose.Cells but the Output is different from the one rendered by MS Excel 2013. We can’t use MS Excel 2007/2010 to render a PDF File because we don’t have this version.
We attached the Files we use to this message.
Thank you.
Hi,
Hello,
do you have any further information for us about our problem?
Thank you.
Hi Gilles,