Adds a frame to the file specified.

Namespace:  FreeImageAPI
Assembly:  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

ExceptionCondition
System..::.ArgumentNullException filename is a null reference.
System.IO..::.FileNotFoundException filename does not exist.
System..::.ExceptionSaving the image has failed.
System..::.ArgumentOutOfRangeException insertPosition is out of range.

Version Information

FreeImage.NET

Supported in: 3.12.0, 3.13.0, 3.13.1

See Also