GDI+ in VB.NET Tutorial for Beginners
GDI+ is next evolution of GDI. Using GDI objects in earlier versions of Visual Studio was a pain. This tutorial gives you a head start with GDI+ using VB.NET. In this tutorial, you will learn how to write graphics applications and understand the concept behind the System.Drawing namespace and its members.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: GDI+ in VB.NET Tutorial for Beginners

Joelle DangPosted Mar 17, 2009, 7:03 AM EDT
I have a project about Chinese Chess wiht GDI. I have designed a frame to phay game but I haven't a way haow to play it?
BrianPosted Aug 28, 2008, 11:15 AM EDT
Is there a way to make these objects behave like visio object where you can click and drag?
tony mathewPosted Sep 18, 2007, 9:44 PM EDT
hi mahesh, After drawing one line on picturebox I want to delete that line after some time means what i do?. can you give some codings for this?. tony
madhu aluvalaPosted May 22, 2007, 2:49 AM EDT
iam not getting what u said but iam trying this problem since 1 week but no progress this is my requirement i need to draw some shapes on image in form i completed that task now my problem is how to create events to that particular shapes like when i click that fillellipse shape color must be changed and tooltop must say what i done in execution time can u plase guide me waht to do
madhu aluvalaPosted May 22, 2007, 2:42 AM EDT
iam not getting what u said but iam trying this problem since 1 week but no progress this is my requirement i need to draw some shapes on image in form i completed that task now my problem is how to create events to that particular shapes like when i click that fillellipse shape color must be changed and tooltop must say what i done in execution time can u plase guide me waht to do
Dale SmithPosted Mar 23, 2007, 8:53 AM EDT
Hello there I am wondering about the references for this drawing tool you are explaining here. Currently I am running a standard developers version (VB.NET) of visual studio 2003. I am not seeing the references you are mentioning such as the System.Text, System.Printing, System.Internal , System.Imaging, System.Drawing2D and System.Design in my reference library. Is this something that is only available in visual studio 2005? Thanks in advance for any advice you can provide. dsmith
Dale SmithPosted Mar 23, 2007, 8:53 AM EDT
Hello there I am wondering about the references for this drawing tool you are explaining here. Currently I am running a standard developers version (VB.NET) of visual studio 2003. I am not seeing the references you are mentioning such as the System.Text, System.Printing, System.Internal , System.Imaging, System.Drawing2D and System.Design in my reference library. Is this something that is only available in visual studio 2005? Thanks in advance for any advice you can provide. dsmith
chirag parikhPosted Apr 28, 2006, 5:16 AM EDT
Sir, I want to save image with drawings and drawn text i save image using image.save(path,bmpstyle) Another problem that i face is I open image in picture box After changing Image, when i try to save image using save syntax it will give me error like file is in use I am not using SaveDialog box because this file is store as a part of data Thanx
gary hurtzPosted Apr 27, 2006, 2:53 PM EDT
Hi Mahesh I am a very novice programmer (and BRAND new to VB.net) and I cant figure something out about GDI+ (or maybe it is .NET programming in general...)... What I am trying to do is this: open up a windows form, add a few numerical parameters into text boxes, then output (and save to a file) a graphic that is generated based upon those parameters. Sounds pretty simple. But, where I am having trouble is I cant figure out how I can get PaintEventArgs passed to me after i enter the data. I can either have my graphics drawn BEFORE I have chance to enter data into the for (by adding a MainForm_Paint event) or I can draw them on Button_Click, but then I cant access PaintEvent Args. Everything I find online tells me what to do once I get PaintEvent Args, but nothing tells me HOW I can get it (except for on an _paint event, which isnt working). I am sure I am missing something simple, can you point me in the right direction? thanks! -gary