FreeImageBitmap.SaveAdd Method (String, Int32)
From FreeImage.NET
FreeImage.NET Class Library Reference
| FreeImageBitmapSaveAdd Method (String, Int32) |
Adds a frame to the file specified.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
C#
public void SaveAdd( string filename, int insertPosition )
Parameters
- filename
- Type: SystemString
File to add this frame to. - insertPosition
- Type: SystemInt32
The position at which the frame should be inserted.
| Exception | Condition |
|---|---|
| ArgumentNullException | filename is a null reference. |
| FileNotFoundException | filename does not exist. |
| Exception | Saving the image has failed. |
| ArgumentOutOfRangeException | insertPosition is out of range. |