Building Graphical Interface Elements by Using the System.Drawing Namespace

Create a Windows form by using the Windows Forms Designer:

  • Build graphical interface elements by using the System.Drawing namespace.

The FCLs provide an advanced implementation of the Windows Graphics Design Interface (also known as GDI+). The GDI+ classes can be used to perform a variety of graphics-related tasks such as working with text, fonts, lines, shapes, and images. One of the main benefits of using GDI+ is that it allows you to work with Graphics objects without worrying about the specific details of the underlying platform. The GDI+ classes are distributed among four namespaces:

  • System.Drawing

  • System.Drawing.Drawing2D

  • System.Drawing.Imaging

  • System.Drawing.Text

Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET 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.