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.

Mon Jun 15, 2015 11:32 am

Hi there
We are currently evaluating your solution but it doesn't seem to work at all..
I have an extremly simply pdf - just a few lines of unformated text. But whenever I call "ExtractText" I get the following exception:
"An exception of type 'System.FormatException' occurred in mscorlib.dll but was not handled in user code"

The code looks like this:
Code: Select all
PdfDocument Pdf = new PdfDocument();
      Pdf.LoadFromFile(@"Assets\Serienbrief.pdf");

      foreach (PdfPageBase Page in Pdf.Pages) {
        Page.ExtractText();
      }


I TRIED to attache the concerning pdf to this issues, but I again got an error "The extension pdf is not allowed"

Kind regards
Samuel

Silverdust
 
Posts: 1
Joined: Mon Jun 15, 2015 11:21 am

Tue Jun 16, 2015 2:55 am

Hello,

Thanks for your inquiry.
Please kindly note that firstly you need to compress it and upload. Or you can send it to us ( Support@e-iceblue.com ) via email.

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Wed Jun 17, 2015 9:30 am

Hello,

Has your issue been resolved?
If not, please kindly note that firstly you need to compress it and upload. Or you can send it to us ( Support@e-iceblue.com ) via email.

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Return to Spire.PDF