Saves this FreeImageBitmap to the specified file.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public void Save( string filename ) |
| Visual Basic (Declaration) |
|---|
Public Sub Save ( _ filename As String _ ) |
| Visual C++ |
|---|
public: void Save( String^ filename ) |
Parameters
- filename
- Type: System..::.String
A string that contains the name of the file to which to save this FreeImageBitmap.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentException | filename is null or empty. |
| System..::.Exception | Saving the image failed. |