The Aspose team is excited to announce the release of Aspose.Pdf for .NET 8.6.0. This release includes a very exciting and demanding feature that lets you convert a PDF document to a Microsoft Excel workbook. Using this new release, developers can convert PDF documents to XLS format, where each individual pages in the PDF file appears as a separate worksheet. The following code snippet shows how to use this feature.
// Load PDF document Aspose.Pdf.Document doc = new Aspose.Pdf.Document(@"C:\input.pdf"); // Instantiate ExcelSave Option object Aspose.Pdf.ExcelSaveOptions excelsave = new ExcelSaveOptions(); // Save the output in XLS format doc.Save("c:/resultant.xls", excelsave);
The earlier versions of Aspose.Pdf for .NET supports converting PDF files to PS format and to convert the PDF document to EPS format, you only have to change PrintFileName as shown below.
The only difference between ways of getting PS and EPS files are in the Printer Options. Please take a look of the Printing to EPS section of Using LaTeX with EPS Figures. By default ‘HP LaserJet 2300 Series PS‘ printer and any other PS printer creates PS files. You can change the PostScript Output Option to Encapsulated Postscript (EPS) to save EPS files.
It’s been possible to convert SVG to PDF with Aspose.Pdf for quite some time. In this release, we have introduced the feature to directly save PDF file to SVG format. The following code snippet shows the simple code lines for doing so.
// Load PDF document Aspose.Pdf.Document doc = new Aspose.Pdf.Document(@"C:\TableResult.pdf"); Aspose.Pdf.SvgSaveOptions saveOptions = new Aspose.Pdf.SvgSaveOptions(); // Do not compress SVG image to Zip archive saveOptions.CompressOutputToZipArchive = false; // Output file name string outFileName = @"C:\output.svg"; doc.Save(outFileName, saveOptions);
During PDF to HTML conversion, you can also specify a separate folder for image files. Further details can be found in the PDF to HTML conversion topic.
This release is a great improvement on earlier releases and provides much better support for PDF to PDF/A_1b, PDF to XPS, TIFF to PDF, XSL-FO to PDF, text extraction and other features. Please be the first to download and start exploring the new features of Aspose.Pdf for .NET 8.6.0.