Chapter 27. Creating Graphics On-the-Fly with GDI+
IN THIS CHAPTER
In this chapter, you learn how to work with images in your ASP.NET applications and take advantage of the newest version of the Windows graphics device interface, GDI+.
In the first section, you examine a simple example of creating and displaying a custom image with an ASP.NET page. You learn how to make an ASP.NET page " pretend " to be an image.
Next, you examine in detail the methods included with GDI+ for drawing objects. You learn how to use the Brush and Pen classes to control the appearance of objects and draw objects, such as lines, rectangles, polygons, and strings of text.
Finally, you examine two complete sample applications using GDI+. First, you learn how to build a simple paint application. Next, you create a simple chart application.
You can view "live" versions of many of the code samples in this chapter by visiting the Superexpert Web site: