Before you can draw lines and shapes, render text, or display and manipulate images with GDI+, you need to create a Graphics object.
The Graphics object represents a GDI+ drawing surface, and is the object that is used to create graphical images.
There are two steps in working with graphics:
1.Creating a Graphics object.
2.Using the Graphics object to draw lines and shapes, render text, or display and manipulate images.