Getting Started with Dynamic Images in ASP.NET
Before you can create any images, or use any graphics commands, you must decide what you will be drawing to. In a standalone application, you will draw to one of the application’s windows. Those of you who have been doing Windows programming for a while now, either in VB or C++, are familiar with the notion of a device context. A device context is a Windows object that describes a device to which you will draw. The device might be a window, a printer, a disk file, or any other item that is suitable for receiving a drawing.
Because your ASP.NET application does not have a window in the classic sense to which it can draw, you must create some other object to which youwill draw. In this chapter I use ...
Get Special Edition Using® Microsoft® ASP.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.