.NET Compact Framework Sample: Save Bitmap

Learn how to save a 16 or 24 bit bitmap file from a control.
  • Version:


    File Name:


    Date Published:


    File Size:

    553 KB

      This example demonstrates how to load a bitmap from a file, draw it to a surface, allow the user to modify it, and then save it to a file. In the .NET Compact Framework, there is no simple method for saving Bitmap objects or getting a bitmap handle from a Bitmap object so it is necessary to use a bit of trickery to access a bitmap's pixel data. This example will access a bitmap's pixel data through a device context created from an editor control.
  • Supported Operating System

    Windows 2000, Windows 2000 Service Pack 2, Windows 2000 Service Pack 3, Windows 2000 Service Pack 4, Windows NT, Windows Server 2003, Windows XP

      • Visual Studio .NET 2003
      1. Click the Download link to start the download.
      2. Do one of the following:
        • To start the installation immediately, click Open or Run this program from its current location.
        • To copy the download to your computer for installation at a later time, click Save or Save this program to disk.
Site feedback

What category would you like to give web site feedback on?

Rate your level of satisfaction with this web page today: