Quantcast
Channel: Nayyer Shahbaz – Blog – Aspose.com
Viewing all articles
Browse latest Browse all 129

PDF Document to Excel, EPS, SVG & PDF/A_1b Conversion Using Aspose.Pdf for .NET 8.6.0

$
0
0

aspose Pdf for net 100 PDF Document to Excel, EPS, SVG & PDF/A 1b Conversion Using Aspose.Pdf for .NET 8.6.0 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 for converting PDF document to Excel workbook. Using this new release, developers can convert PDF document to XLS format, where the individual pages of PDF file appear as separate worksheet. The following code snippet shows how to convert PDF document to Excel worksheet.


// 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 release versions of Aspose.Pdf for .NET supports the capability to convert PDF files to PS format and in order to convert the PDF document to EPS format, you only have to change PrintFileName as shown below.


PrinterSettings.PrintFileName ="Hello.eps";

However the only difference between ways of getting PS and EPS files in 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. However you can change PostScript Output Option to Encapsulated Postscript (EPS) and get EPS files as output.

The conversion of SVG to PDF has been added in our component for quite some time. However 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 to convert PDF file to SVG file.


// 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;
// resultant 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 documentation section over PDF to HTML conversion documentation topic. This release is far better than the 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 much more features. Please be the first to download and start exploring the new features of Aspose.Pdf for .NET 8.6.0.


Viewing all articles
Browse latest Browse all 129

Trending Articles