Hi,
Hi,
Thank you for considering Aspose.
Please download the latest version of Aspose.Cells and try it as I checked your template file and the result is much better (as per the print preview of MS Excel). You may use the following link to download the latest Aspose.Cells for .NET version.
http://www.aspose.com/community/files/51/.net-components/aspose.cells-for-.net/entry207989.aspx
Also, for the chart issue, please use Worksheet.PageSetup options to fit the chart on one page. Please see the following sample code in this regard:
Workbook workbook = new Workbook();
workbook.Open("C:\\TestingCells.xlsx", FileFormatType.Excel2007Xlsx);
workbook.Worksheets[1].PageSetup.FitToPagesTall = 1;
workbook.Worksheets[1].PageSetup.FitToPagesWide = 1;
workbook.Save("C:\\TestingCells.pdf", FileFormatType.Pdf);
Please do let us know if you still face any problem.
Thank You & Best Regards,
Hi,
Hi,
Thank you for considering Aspose.
Please make sure to un-install the previous version and then install the latest version. As I checked with the latest version and attached is my output with below sample code:
Workbook workbook = new Workbook();
workbook.Open("C:\\TestingCells2.xlsx", FileFormatType.Excel2007Xlsx);
workbook.Worksheets[0].AutoFitColumns();
workbook.Worksheets[1].PageSetup.FitToPagesTall = 1;
workbook.Worksheets[1].PageSetup.FitToPagesWide = 1;
workbook.Save("C:\\TestingCells.pdf", FileFormatType.Pdf);
If you still face any problem, please mark the issues in the generated PDF file and send to us. We will check it soon.
Thank You & Best Regards,
Hi,
Hi,
Thank you for considering Aspose.
Well, we have further tested your issue and we are still unable to reproduce the issue in direct conversion of XLS2PDF using Aspose.Cells. We think maybe the reference to the latest version is not added properly in you application. Please remove the previous reference from your project and add the reference to the latest version. If you still find any issue, please create a sample application to reproduce the issue and post it here and we will check it soon.
Thank You & Best Regards,
Hi,
Hi,
Thank you for considering Aspose.
I checked your sample application and please find the attached resultant file which does not have any truncation of data. Please provide some further details regarding your system environment so we can track the issue (like OS, Adobe Version etc.).
Thank You & Best Regards,
Hi,
Hi Suyi,
We found your excel file has MingLiu&PMingLiu as default font , so if your machine do not install such font , this issue will occur. So, you may create template file using installed font as default font, or install the MingLiu&PMingLiu(mingliu0.ttc).
Thank you
Hi,