I need your help adding an image to a PDF
I'm using:
string imgPath2 = localPath + "\\TempChartImages\\" + LegendPath;
img2.Save(imgPath2);
ith.WriteImage(imgPath2, 80);
But this code give me error : "Use of unassigned local varible img2"
How can I solve this error?