FreeImage.NET Class Library Reference
FreeImageBitmapSaveAdd Method (FreeImageBitmap, Int32) |
Adds a frame to the file specified in a previous call to the Save(String) method.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public void SaveAdd( FreeImageBitmap bitmap, int insertPosition )
Parameters
- bitmap
- Type: FreeImageAPIFreeImageBitmap
A FreeImageBitmap that contains the frame to add. - insertPosition
- Type: SystemInt32
The position at which the frame should be inserted.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This instance has not yet been saved to a file using the Save(...) method. |
ArgumentOutOfRangeException | insertPosition is out of range. |
See Also