How to save a graphic object to bitmap with vb.net code?

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
The best way to save a bitmap in the .NET Compact Framework, v1, is by
using a PictureBox control.

' Assumes myBmp is a Bitmap object.

MyPictureBox.Image = myBmp

MyPictureBox.Image.Save("myBmp.bmp", ImageFormat.Bmp)

The .NET Compact Framework version 2.0 supports the Save method on an
Image. To get the Visual Studio Beta 2, which contains NETCF v2, visit:

http://lab.msdn.microsoft.com/vs2005/

- Bruce Hamilton
..NET Compact Framework User Education
Microsoft
(e-mail address removed)
 
Back
Top