Ken,
I think you're going to stuggle to "embed" graphics in HTML as it's only
really designed to accept these as references to server based resources.
It might be better to consider using PDF as the delivery container where you
can create your graphics using the .NET classes then embed the byte streams
(BMP or simliar) into the PDF along with any text. There are a number of PDF
creation utilities out there for .NET.
"Ken Kazinski" wrote:
Hi Paul,
Thank you for the information.
I would also like to put the location of the pieces in the document what
woudl you recommend for drawing the graphics / hexes on the page.
Ken
"Paul Hasell" wrote:
Ken,
I would use a StringWriter/HTMLTextWriter combination to give an in-memory
representation which you could write to disk or include in an e-mail.
"Ken Kazinski" wrote:
I have a game program I am writing.
I want to publish the results of a turn as a html document that I can then
e-mail to the players.
What would be the best way to create the html document from C#.
Thanks for the help.
Ken