Saves this image to the specified file in the specified format.
| C# | Visual Basic |
public void Save( string filename, ImageFormat format )
Public Sub Save ( _ filename As String, _ format As ImageFormat _ )
- filename (String)
- A string that contains the name of the file to which to save this image.
- format (ImageFormat)
- The ImageFormat for this image.
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile Version 5.0 and later |
| Windows Embedded Compact | Windows CE 5.0 and later |