Adds a frame to the file specified in a previous call to the Save(String) method.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public void SaveAdd( FreeImageBitmap bitmap, int insertPosition ) |
| Visual Basic (Declaration) |
|---|
Public Sub SaveAdd ( _ bitmap As FreeImageBitmap, _ insertPosition As Integer _ ) |
| Visual C++ |
|---|
public: void SaveAdd( FreeImageBitmap^ bitmap, int insertPosition ) |
Parameters
- bitmap
- Type: FreeImageAPI..::.FreeImageBitmap
A FreeImageBitmap that contains the frame to add.
- insertPosition
- Type: System..::.Int32
The position at which the frame should be inserted.
Exceptions
| Exception | Condition |
|---|---|
| System..::.InvalidOperationException | This instance has not yet been saved to a file using the Save(...) method. |
| System..::.ArgumentOutOfRangeException | insertPosition is out of range. |