Remove a frame from a GIF.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public static int DeleteGIFFrame(
	string fileName,
	int frameIndex
)
Public Shared Function DeleteGIFFrame ( _
	fileName As String, _
	frameIndex As Integer _
) As Integer
public:
static int DeleteGIFFrame(
	String^ fileName, 
	int frameIndex
)

Parameters

fileName
String
the file name of the GIF
frameIndex
Int32
the frame to remove (0 is the first image)

Return Value

Returns the remaining number of frames that the file contains.

Examples

CopyC#
IEImage.DeleteGIFFrame("test.gif",0);

See Also