Save html as an image
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
Answers
Know the answer? Post it. Somebody with the same question will find it here.