The common language runtime uses an advanced implementation of the Windows graphics design interface (GDI) called GDI+. GDI+ allows you to create graphics, draw text, and manipulate graphical images as objects. GDI+ is designed to offer performance as well as ease of use. You can use GDI+ to render graphical images on Windows Forms and controls. GDI+ has fully replaced GDI, and is now the only way to render graphics programmatically in Windows Forms applications. You can also use the Image Editor to create images at design time for later use by your applications. Although you cannot use GDI+ directly on Web Forms, you can display graphical images through the Image Web Server control.
In this section, you will find topics that introduce the fundamentals of GDI+ programming. Although not intended to be a comprehensive reference, this section includes information on the Graphics, Pen, Brush, and Color objects, and explains how to perform such tasks as drawing shapes, drawing text, or displaying images. For more information, see the GDI+ SDK.
In This Section
- Creating Graphical Images with GDI+
- Describes what a Graphics object is and how to create one.
- Pens, Brushes, and Colors
- Provides information about the objects commonly used in rendering graphics.
- Drawing Lines and Shapes with GDI+
- Demonstrates how to draw lines and simple shapes.
- Drawing Text with GDI+
- Provides information on how to render text graphically.
- Rendering Images with GDI+
- Describes how to use GDI+ to display images.
- GDI+ Example Topics
- Lists code examples for common printing and graphics tasks.
- GDI+ SDK
- Provides a comprehensive reference with C++ code examples for all aspects of GDI+ programming.
- Custom Control Painting and Rendering
- Details how to provide code for painting controls.
- Graphics Changes in Visual Basic .NET
- Describes changes to the graphics rendering model in Visual Basic .NET.
- Introduction to the Image Web Server Control
- Describes the control that allows you to display images on a Web Forms page and manage the images with code.
- Image Editor
- Provides links to topics on how to use the image editor to create image files for use in your application.