Chapter 27. Creating Graphics On-the-Fly with GDI


Chapter 27. Creating Graphics On-the-Fly with GDI+

IN THIS CHAPTER

  • Building Simple Images

  • Drawing Objects with GDI+

  • Drawing a String of Text

  • Building Sample GDI+ Applications

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.

NOTE

You can view "live" versions of many of the code samples in this chapter by visiting the Superexpert Web site:

http://www.Superexpert.com/AspNetUnleashed/




ASP.NET Unleashed
ASP.NET 4 Unleashed
ISBN: 0672331128
EAN: 2147483647
Year: 2003
Pages: 263

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net