Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Fri Mar 12, 2021 9:40 am

Why I use Spire.pdf to read pdf file, but it create excel (with image)

lamtuanduc
 
Posts: 1
Joined: Tue Jun 16, 2020 5:25 am

Fri Mar 12, 2021 10:33 am

Hello,

Thanks for your inquiry.
I have reproduced your issue and logged it in our bug tracking system with the ticket SPIREPDF-4099.
Sorry for the inconvenience caused. I will inform you once there is any update.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3044
Joined: Wed Jun 27, 2012 8:50 am

Tue Apr 27, 2021 9:50 am

Hello,

Thanks for your patience!

Glad to inform you that we just released Spire.PDF Pack(Hot Fix) Version:7.4.13 which fixes the issue of the content was incorrect after converting PDF to Excel (SPIREPDF-4099).

Please download the fix version from the following links and test with the following code.

Code: Select all
            PdfDocument pdf = new PdfDocument();
            pdf.LoadFromFile("E:\\testdoc\\3457.pdf");

            //PdfToXlsxLayout method
            pdf.ConvertOptions.SetPdfToXlsxOptions(PdfToXlsxLayout.Line);

            pdf.SaveToFile("pdftoxls.xlsx", FileFormat.XLSX);


Website link: https://www.e-iceblue.com/Download/download-pdf-for-net-now.html
Nuget link:
https://www.nuget.org/packages/Spire.PDF/7.4.13
https://www.nuget.org/packages/Spire.PDF.NETCore/7.4.13

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Return to Spire.PDF