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