15.0 Introduction


The ability to draw or retrieve and display graphic images on your web pages on the fly can add powerful functionality to an application. This is a nearly impossible task in classic ASP unless you use a third-party component. By contrast, the drawing library provided in the .NET Framework simplifies creating your own images when you need them. Indeed, it provides the ability to do almost anything you can imagine for image generation. The examples shown in this chapter show you how to:

  • Draw button images on the fly using text generated during the running of your application

  • Create bar charts on the fly

  • Display images stored in a database

  • Display thumbnails from full-sized images stored in a database

These represent a sampling of what you can do with the .NET drawing libraries and a little bit of custom code.



ASP. NET Cookbook
ASP.Net 2.0 Cookbook (Cookbooks (OReilly))
ISBN: 0596100647
EAN: 2147483647
Year: 2003
Pages: 202

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