If you're like me and you've been trying to desperately convert a picture box that uses CreateGraphics() to bitmap or any other image in VB.net, you'll find that you can't do it. The object that that creates can only seemingly be accessed by .GetHdc(), however using Bitmap.FromHbitmap(objcanvas.GetHdc()) results in an error..
Showing posts with label draw. Show all posts
Showing posts with label draw. Show all posts
Labels:
.net,
creategraphics,
draw,
file,
graphics,
image,
issue,
picturebox,
programming,
save,
vb.net,
visual basic,
visual studio,
windows
Subscribe to:
Posts (Atom)