FreeImageBitmap.SaveAdd Method (FreeImageBitmap, Int32)

FreeImage.NET

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
ExceptionCondition
InvalidOperationException This instance has not yet been saved to a file using the Save(...) method.
ArgumentOutOfRangeExceptioninsertPosition is out of range.
See Also