This is my first attempt at using the drawing features of asp.net. I just want to start simple, and create a single color bar based on a value for a single graph. I wrote this so far, but I can't figure out how to take the bitmap I just created, and apply it to the Image Control. Do I have to save the file first, and then reload it.
Plus, my box keeps coming out pure black, I trying to fill the box with a color.
This is part of a web custom control, in which I dynamically created an Image Control. I want to apply the bitmap I made to the image control.
Dim imgGoogle As Image
imgGoogle = New Image
imgGoogle.ImageAlign = ImageAlign.AbsMiddle
imgGoogle.ImageUrl = cs.GetWebResourceUrl(rsType, "ice5software.BotCatcher.Google.gif")
Private Sub DrawBarGraph_Google(ByVal BarValue As Integer)
Dim objBitmap As System.Drawing.Bitmap
Dim objGraphics As S
View Complete Post