R
RicardoVeloso
Hi,
I have to generate an image based on information saved in a DB.
This image needs to contain the draw of a cinema room places. This work has
the objective to implement a Online cinema ticket reservation.
I try this:
Bitmap bitmap = new Bitmap(10,10);
System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(bitmap);
g.DrawLine(new Pen(Color.BurlyWood), 0, 0, 10, 10);
bitmap.Save("image1.png", System.Drawing.Imaging.ImageFormat.Png);
Image1.ImageUrl = Server.MapPath(Session.SessionID + ".png");
But the Save method is not available in .NETCF, and I don't know if this is
the best way to force an image to be visible on the client-side.
Any help to turn around this problem?
Thanx a lot,
Ricardo Veloso
I have to generate an image based on information saved in a DB.
This image needs to contain the draw of a cinema room places. This work has
the objective to implement a Online cinema ticket reservation.
I try this:
Bitmap bitmap = new Bitmap(10,10);
System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(bitmap);
g.DrawLine(new Pen(Color.BurlyWood), 0, 0, 10, 10);
bitmap.Save("image1.png", System.Drawing.Imaging.ImageFormat.Png);
Image1.ImageUrl = Server.MapPath(Session.SessionID + ".png");
But the Save method is not available in .NETCF, and I don't know if this is
the best way to force an image to be visible on the client-side.
Any help to turn around this problem?
Thanx a lot,
Ricardo Veloso