Hi Wayne,
You can use Aspose.Words to convert Word documents to PDF, Aspose.Cells to convert Excel documents to PDF, Aspose.Slides to convert PowerPoint documents to PDF, Aspose.Diagram to convert Visio documents to PDF and Aspose.Tasks to convert MS Project files to PDF. You can also use Aspose.Email and Aspose.Words to convert emails to PDF.
There is no limit on file size if you are using our .NET APIs. Please let us know if you want to use Aspose for Cloud instead of Aspose.Total for .NET.
Best Regards,
I am trying to convert an Excel file to PDF, but i am getting an error in trying to do so.
Hi Balu,
Thanks for your posting and considering Aspose.Cells.
I was able to successfully convert your z.xlsx into pdf using Aspose.Cells. It has around 15886 pages and it took 768 seconds or around 13 minutes. The output pdf size is 70 MB.
I have not tested the other file but we once tested Aspose.Cells to generate 3 GB PDF so your other file will also convert fine with Aspose.Cells.
I tested this issue with the latest version: Aspose.Cells
for .NET v8.4.2.7 with the following sample code. I tested it on Windows 7 - 64 bit with 8 GB RAM having Dual Core 2.8 GHz processor.
C#
string filePath = @“D:\Downloads\z.xlsx”;
Workbook workbook = new Workbook(filePath);
Stopwatch sw = new Stopwatch();
sw.Start();
workbook.Save(filePath + “.out.pdf”);
sw.Stop();
Debug.WriteLine(sw.ElapsedMilliseconds);
768819
Hi Shakeel,
Hi Balu,
Thanks for your feedback and using Aspose.Cells.
Aspose.Cells generates pdf as Microsoft Excel shows the workbook in the Print Preview. So if there are blank pages in the Microsoft Excel Print Preview, then Aspose.Cells will generate the blank pages too in the output pdf.
Please check your excel file in the Microsoft Excel Print Preview and see if there are any blank pages after 750th page.
If you could not find any blank pages in the Microsoft Excel Print Preview, then please provide me your 45 MB file. Currently I have your b.xlsx file which is 39 MB and z.xlsx which is 16 MB.
Hi Shakeel,
Hi Balu,
Thanks for your feedback and using Aspose.Cells.
Please provide us your source excel file and the converted pdf via dropbox for our investigation. We will look into it and update you asap.
Hi Shakeel,
Hi Shakeel,
Hi Shakeel,
Hi Balu,
Please follow http://www.aspose.com/corporate/purchase/temporary-license.aspx to get a temporary license. Once you apply license, your trial versions will become licensed. Aspose.Total license will work in your case as you are using multiple APIs.
Best Regards,
Hi Ijaz,
Hi Balu,
Aspose.Words builds the document layout in memory before conversion and in normal cases it can take up to ten times memory than the original file size, however in some special cases (like you have 10k pages), the memory consumption can significantly increase.
Can you please share your input Words document to reproduce the issue?
Best Regards,
Hi Ijaz,
Hi Balu,
There are two solutions for this issue.
1. Convert your files to PDF and then use Aspose.Pdf to add headers.
2. Use Aspose.Words, Aspose.Cells and Aspose.Slides to add headers/footers and then convert to PDF.
Best Regards,
Hi,
Hi Balu,
Office 2016 is not officially supported at the moment however product teams will investigate it once it is released and then try to support it as soon as possible.
Best Regards,
Hi,
Hi Balu,