S
Samuel
Can anyone advice how to set the background colour of a new Bitmap
Thank you,
Samuel
Thank you,
Samuel
Can anyone advice how to set the background colour of a new Bitmap
Thank you,
Samuel
I can't think of a real easy way to do this, but one way would be to
use a nested loop with the bitmap's SetPixel method:
Dim bmp As New Bitmap(40, 40)
For x As Integer = 0 To bmp.Width - 1
For y As Integer = 0 To bmp.Height - 1
bmp.SetPixel(x, y, Color.Blue)
Next
Next
There may be a better way, but I can't think of it at the moment.