sorry, i need for winforms ..
i think that shouldnīt work in winforms ..
thks anyway
JSB
"Dale Bonamie" <Au*********@comcast.net> wrote in message
news:0a****************************@phx.gbl...
Maybe this will help:
private void Page_Load(object sender, System.EventArgs e)
{
//create a new bitmap image
Bitmap InputBitmap = new Bitmap
(Server.MapPath("PictureName.gif"));
// create a new image from original
int newWidth = 100;
int newHeight = 100;
Bitmap OutputBitmap = new Bitmap
(InputBitmap, newWidth, newHeight);
// set the mime type
Response.Clear();
Response.ContentType="image/Gif";
// send the image to the viewer
OutputBitmap.Save(Response.OutputStream,
ImageFormat.Gif);
// clean up
OutputBitmap.Dispose();
InputBitmap.Dispose();
}
Dale Bonamie
-----Original Message-----
Hi all
i need to resize a background image in a mdi parent
form ? how can i do thisi have tryed to do in the resize event, and, in the
overload backgroundpaint, bla, bla .. and it didnīt show nothing..
can someone help me ????
thks
JSB
.