I wanted to get some recommendation on the best approach to convert Microsoft Excel files to a PDF. Using the basic Aspose function I can easily convert a small Excel file to PDF. When I say “small” I mean an Excel file that will return a less then 20 page PDF.
Excel excel = new Excel();
excel.Open(_SourceDir + "tempsource.xls");
excel.Save(_SourceDir + "tempEXCEL.xml", FileFormatType.AsposePdf);
Pdf pdf = new Pdf();
pdf.BindXML(_SourceDir + "tempEXCEL.xml", null);
pdf.Save(_DestinationDir + "outputofxls.pdf");
What about “huge” Excel files? When I say “huge” I mean an Excel file that will return 5000 page PDF? In the industry I work in, this is a very command thing.
I’m not sure if the code above works when trying to make a large PDF file. When calling “pdf.save” it sites there and accumulates memory and I have no way of checking progress.
Does Aspose fire any events that would indicate it is still working on the file?
Does anyone know of a better solution for this; other than a print driver?