RE: Saving BMP file to disk in CF

From: Bruce Hamilton [MSFT] (bruceham.online_at_microsoft.com)
Date: 11/15/04


Date: Mon, 15 Nov 2004 03:19:48 GMT

The Image.Save method won't be available until version 2.0. But you can use
a PictureBox control to save the bimap.

Here it is in VB:

    'Set the PictureBox control's Image property to your bitmap object
    PictureBox1.Image = myBmp
     PictureBox1.Image.Save(".\My Documents\savedbmp.bmp", ImageFormat.Bmp)

Hope this helps.

Bruce Hamilton
NET Compact Framework
Microsoft



Relevant Pages