I am using abcpdf10 to read pdf files. Whenever my code encounters an empty pdf file (0kb), document.Read(pdfPath) throws exception.
using (var document = new Doc())
{
document.Read(pdfPath);
}
If my code encounters empty file I need to ignore and continue. I am not sure how to do this. Using C# and ABCPDF10 (websupergoo)