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.

Thu Aug 18, 2022 1:11 pm

Hello. I am using the PdfTableExtractor.ExtractTable but it always fails on the first page with System.ArgumentException and always just the first page. I should note that we have not yet bought a license and am using the free version.

Would like any input on whether this is a known issue.

Thank you in advance,
il.

P.S. I'm using the latest NuGet pacakage, version 8.8.6.

P.P.S. Here's a code snippet in case that helps.

Code: Select all
PdfDocument doc = new PdfDocument();
doc.LoadFromBytes(fileBytesArray);

PdfTableExtractor extractor = new PdfTableExtractor(doc);
List<PdfTable> result = new List<PdfTable>();

for (int pg = start; pg < end; pg++)
{
      PdfTable[] tables;
      tables = extractor.ExtractTable(pg);
      if (tables != null && tables.Length > 0) {
          result.AddRange(tables);
      }
}

ilsonatul
 
Posts: 4
Joined: Thu Aug 18, 2022 1:02 pm

Fri Aug 19, 2022 2:33 am

Hi,

Thank you for your inquiry.
I simulated a PDF document and did an initial test, but did not reproduce your problem. Please provide the following information for further investigation. You can attach your information here or send it to us via email (support@e-iceblue.com). Thank you in advance.
1) Your PDF document.
2) Test environment, such as win10, 64bit.
3) Application type, such as Console App, .NET Framework 4.8.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Mon Aug 22, 2022 12:30 pm

Hi,

Thank you for the prompt response!

I emailed you a response with sample PDF (the sample PDF was sent in a separate email as I forgot to attach it in the first email). Let me know if it arrived in your inbox correctly.

Thank you in advance!

Sincerely,
il.

ilsonatul
 
Posts: 4
Joined: Thu Aug 18, 2022 1:02 pm

Tue Aug 23, 2022 5:39 am

Hi,

I received your PDF document and reproduced your problem. I posted the problem to our bug tracking system with the problem number SPIREPDF-5441. I will let you know as soon as the issue is resolved or there is any update. Sorry for the inconvenience.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Tue Aug 23, 2022 12:43 pm

Thank you so much! I appreciate the prompt help.

ilsonatul
 
Posts: 4
Joined: Thu Aug 18, 2022 1:02 pm

Wed Aug 24, 2022 9:27 am

Hi,

You are welcome! Once there is any good news, I will inform you.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Fri Sep 30, 2022 10:15 am

Hi,

Glad to inform that we just released Spire.PDF Pack Version:8.9 which fixed SPIREPDF-5441, you can download it from the following links to test.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.PDF/8.9.16

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Fri Sep 30, 2022 11:57 am

Thank you very much!

ilsonatul
 
Posts: 4
Joined: Thu Aug 18, 2022 1:02 pm

Mon Oct 03, 2022 1:56 am

Hello,

If you have any issue in the future, just feel free to contact us. Have a nice day! :D

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 951
Joined: Tue Mar 08, 2022 2:02 am

Return to Spire.PDF