|
This demo relies on saving the image to a file before using it.
Click here, however, to view a tutorial that draws an image without saving
it a file using the ASP.NET 2.0 System.Drawing namespace
Using System.Drawing library to draw text and a button on the web
In this sample I I create a high-resolution bitmap object. I clear its background
color, draw a polygon and fill it with a color then draw a text. Choose out of the
predefined settings or specify the following parameters then press submit to receive
a JPG image of the resulting button with a text on it.
|