Adds a frame to the file specified.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public void SaveAdd( string filename, int insertPosition ) |
| Visual Basic (Declaration) |
|---|
Public Sub SaveAdd ( _ filename As String, _ insertPosition As Integer _ ) |
| Visual C++ |
|---|
public: void SaveAdd( String^ filename, int insertPosition ) |
Parameters
- filename
- Type: System..::.String
File to add this frame to.
- insertPosition
- Type: System..::.Int32
The position at which the frame should be inserted.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | filename is a null reference. |
| System.IO..::.FileNotFoundException | filename does not exist. |
| System..::.Exception | Saving the image has failed. |
| System..::.ArgumentOutOfRangeException | insertPosition is out of range. |