O'Reilly logo

Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) by Priti Kalani, Amit Kalani, Kalani Kirk Hausman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building Graphical Interface Elements by Using the System.Drawing Namespace

The .NET FCL provides an advanced implementation of the Windows Graphics Device Interface (GDI) known as GDI+. GDI+ includes the following four namespaces in System.Drawing.dll:

  • System.Drawing

  • System.Drawing.Drawing2D

  • System.Drawing.Imaging

  • System.Drawing.Text

The GDI+ classes in these preceeding namespaces can be used to build graphical interface elements such as drawing text, fonts, lines, shapes, and images. GDI+ enables you to develop device-independent applications; you just need to work with the Graphics object instead of worrying about the specific details of the underlying platform.

The Graphics object is discussed in the following section.

Understanding the Graphics ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required