IW1QLH
Ham radio ed altro ancora...
Advertisement
Home arrow Articles
Thursday, 20 November 2008
Main Menu
Home
Project - Software
Projects - Hardware
Articles
Meteo italia
Il mio lavoro
Links
SSTV Web Ring
Contatti
Cerca
Libri
Log book
Download
Forum
HRD Label Download
Last stable version
Development release
Latest files
Sep.25
66
FileTable Manager 3.0 alpha
Jul.11
440
FileHRD Label 2.0
Jul.11
418
FileTable Manager 2.5.14
Jun.27
96
FileMeteosat & Italian Weather Module 3.2.0 - Drupal 6.x
Jun.27
29
FileMeteosat & Italian Weather Module 3.2.0 - Drupal 5.x
Most Downloaded
Jul.13
2777
File iconTable Manager 1.0.3-exp
May.09
2179
File iconTable Manager 1 in 14 step
May.09
2013
File iconDigital hit counter 1.0
Jun.21
1447
File iconTable manager 2 - Formatting fields
May.18
1373
File iconTable Manager mambot/plugin 1.0.0
Generate a JPEG image PDF Print E-mail
ASPX.CS C# - How to generate dinamically a image

protected void Page_Load(object sender, EventArgs e)
{
    // create a Graphics object
    Bitmap bmp = new Bitmap(745, 570);
    Graphics g = Graphics.FromImage(bmp);

    // now draw on the Graphics object
    SolidBrush b = new SolidBrush(Color.FromArgb(191, 191, 191));
    g.FillRectangle(b, new Rectangle(0, 0, bmp.Width, bmp.Height));

    // send the image as response
    bmp.Save(Response.OutputStream, ImageFormat.Jpeg);

}

Comments

Only registered users can write comments.
Please login or register.

Powered by AkoComment 2.0.3!


Last Updated ( Friday, 27 October 2006 )
< Prev   Next >
Login Form
Username

Password

Remember me
Forgotten your password?
No account yet? Create one
TopHost

Tophost Hosting

 
Tophost Hosting
Copyright 2000 - 2005 Miro International Pty Ltd. All rights reserved.
Mambo is Free Software released under the GNU/GPL License.
Design by Mamboteam.com | Powered by Mambobanner.de