This documentation is archived and is not being maintained.

Drawing Pictures: Using Graphics

Visual Studio 2008

In a previous lesson, you learned how to create the user interface using forms and controls. Sometimes you might want to customize the look of your program by using images or effects that cannot be created by using controls.

In Visual Basic, you can use graphics methods to draw almost anything on a form or on a control. In this set of lessons, you will be introduced to the graphics capabilities in Visual Basic.

Making Graphics Appear

Demonstrates how to use the graphics methods in Visual Basic to draw on a form.

Drawing Shapes on a Form

Demonstrates how to draw shapes such as rectangles or circles on a form.

Drawing Text on a Form

Demonstrates how to draw text on a form by using graphics methods.

Drawing an Image on a Form

Demonstrates how to display an image by using graphics methods.

Displaying Images: Using the PictureBox Control

Explains how to display images on a form by using the PictureBox control.

Visual Basic Guided Tour

The Visual Basic Guided Tour is a series of sequential lessons that introduce you to the basics of programming in Visual Basic.