You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Multiframe GIF Manipulation > GifDeleteFrame Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.GifDeleteFrame Method

Deletes the frame of an editable multiframe gif image on the given position.

C#
public GdPictureStatus GifDeleteFrame(
    int ImageID, 
    int Frame
);
Visual Basic
Public Function GifDeleteFrame(
    ByVal ImageID As Integer, 
    ByVal Frame As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier. The editable multiframe gif image in which a frame will be deleted.  
Frame 
The position of the frame to delete. Must be a value from 1 to the current number of frames available in the multiframe gif image.  
Returns

A member of the GdPictureStatus enumeration.

This function can only be used with an editable multiframe gif image. 

To check if an image is an editable multiframe gif image you can use the GifIsEditableMultiFrame() function. 

To save modifications brought to the multiframe gif image you need to use the GifSaveMultiFrameToFile() function.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.