I'm trying to add an image to a pdf cell and I get an error:
Argument 1: cannot convert from 'System.Drawing.Image' to 'iTextSharp.text.pdf.PdfPCell'
in line:
content.AddCell(myImage);
Here's my code:
PdfPTable content = new PdfPTable(new float[] { 500f });
content.AddCell(myImage);
document.Add(content);
myImage
variable is of the Image type. What am I doing wrong?