asp.net mvc - How to save a image in pdf fileusing .net mvc3 -
here code. want save image in pdf file , how save pdf file in server map path or location using .net mvc3
pdfdocument doc = new pdfdocument(); pdfpage page = doc.pages.add(); pdfgraphics graphics = page.graphics; string imagefilepath = server.mappath("chart.png"); pdfimage pdfimage = pdfimage.fromfile(imagefilepath); graphics.drawimage(pdfimage, 10, 10); any 1 me..
thanks, bharathi.
use itextsharp it. can refer other question or there guide here
Comments
Post a Comment