G
Guest
When I use the following commands I do not get a solid color loks like some
dots are in it.
Dim bmp As New Bitmap(479, 30)
Dim gfx As Graphics
gfx = Graphics.FromImage(bmp)
Dim BGroundBrush As New SolidBrush(Color.FromArgb(255, 64, 64, 64))
gfx.FillRectangle(BGroundBrush, 0, 0, 479, 30)
bmp.Save(Response.OutputStream, ImageFormat.Gif)
I want the color to match the following html
<div style = " background-color:#404040" />
dots are in it.
Dim bmp As New Bitmap(479, 30)
Dim gfx As Graphics
gfx = Graphics.FromImage(bmp)
Dim BGroundBrush As New SolidBrush(Color.FromArgb(255, 64, 64, 64))
gfx.FillRectangle(BGroundBrush, 0, 0, 479, 30)
bmp.Save(Response.OutputStream, ImageFormat.Gif)
I want the color to match the following html
<div style = " background-color:#404040" />