Adds a frame to the file specified in a previous call to the Save(String) method.

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

ExceptionCondition
System..::.InvalidOperationException This instance has not yet been saved to a file using the Save(...) method.
System..::.ArgumentOutOfRangeException insertPosition is out of range.

Version Information

FreeImage.NET

Supported in: 3.12.0, 3.13.0, 3.13.1

See Also