Click to See Complete Forum and Search --> : How to display a bitmap in table?


ReiSaN
December 8th, 2006, 10:47 AM
the following are my webpage codes: (ASP.net VB code)

<
Dim objBitmap As New Bitmap(600, 400)

Dim objGraphic As Graphics = Graphics.FromImage(objBitmap)

objGraphic.Clear(Drawing.Color.White)

Dim blackPen As New Pen(Color.Black, 2)
objGraphic.DrawLine(blackPen, New Point(0, 195), New Point(195, 195))

Response.ContentType = "image/gif"

objBitmap.Save(Response.OutputStream, ImageFormat.Gif)
>

how to make the bitmap to display in a certain place like in a table? bcoz my whole webpage only display the bitmap... all my buttons, textboxes are gones.... :(