ABCPdf Can't load image from project

568 Views Asked by At

I am currently having a problem with loading images from my .net MVC project onto a PDF with ABCPdf. I have made sure that the path to the image is correct.

This is the line that adds it to the PDF:

theDoc.AddImageFile(<path-to-image>);

The error I get back simply reads:

Unable to read file

Does anybody know what the problem may be?

0

There are 0 best solutions below