Reviewing the System.Drawing Namespace

The System.Drawing (GDI+) namespace is one of those great features that will allow you to exercise precise control over custom drawing and your graphical user interface in Windows Forms. (You can use the classes in System.Drawing for WebForms, too.)

This section provides an overview of the System.Drawing namespace with some brief examples. For an extensive review and additional examples of GDI+, see Chapter 17, “Programming with GDI+.”

Classes in the System.Drawing Namespace

There are several key classes in the Drawing namespace that are part of GDI+. Important classes include those that represent brushes, fonts, pens, drawing regions, and the Graphics class. Together these classes will allow you to create ...

Get Visual Basic® .NET Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.