PDF with Excell documents attachments

Hi
I used the following code for extracting some excel documents from a PDF:
Aspose.Pdf.Facades.PdfExtractor extractor = new Aspose.Pdf.Facades.PdfExtractor();
extractor.BindPdf(“C:\PdfWithExcellAttachments.pdf”);
extractor.ExtractAttachment();
extractor.GetAttachment(“c:\Temp”);

The PDF document contains 4 excel spreadsheet. No document was extracted from the pdf.

Please advise.
Tali

Hi Tali,


Thanks for your feedback. I have tested the scenario with your shared file using Aspose.Pdf for .NET 9.9.0 and unable to notice any issue, as I have extracted all four excel spreadsheets successfully. Please download and try latest version of Aspose.Pdf for .NET. Hopefully it will solve the issue.

However, if issue persists then please share some more details about your environment and a console application to replicate the issue at our end.

We are sorry for the inconvenience caused.

Best Regards,

Hi
Thank you very much for your quick replay.
I downloaded the latest version and it still does not work. I am sharing a console application and again the PDF file.
In addition I tried to run your example from “Aspose Examples” - “Get All the attachment from a PDF document” and it still does not work.

Please advise

Tali.

Hi Tali,


Thanks for your feedback. I have further investigated the issue and found that PdfExtractor class is not working in evaluation mode. So logged a ticket PDFNEWNET-38019 in our issue tracking system for rectification. However with proper license implementation it is working fine. If you have a valid license then please double check its implementation otherwise request a 30 days temporary license to evaluate our API without any evaluation limitations.

We are sorry for the inconvenience caused.

Best Regards,

Thanks. It works with the proper license.

Tali.

Hi Tali,


Thanks for your feedback. It is good to know that you have managed to resolve the issue.

Please keep using our API and feel free to ask any question or concern, we will be more than happy to extend our support.

Best Regards,

The issues you have found earlier (filed as PDFNET-38019) have been fixed in Aspose.PDF for .NET 22.7.