0
Answer

save html as an image

ahalya raghavan

ahalya raghavan

17y
1.6k
1
Hi all, I need some help with my project. I have a string builder that consists of html tags.... I want this thing to be save as an image (jpg format). I have tried this strTempBuild = the html values............... logFileName = GradeCard.jpg logFilePath = Server.MapPath("\\MyProject\\Logs\\"); Directory.CreateDirectory(logFilePath); StreamWriter sWriter = new StreamWriter(logFilePath + logFileName); sWriter.Write(strTempBuild.Trim()); sWriter.Flush(); This creates a JPG file, but not with the relevant data... Is it possible to convert this as Image format ??? Please help.... thanks in advance