GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / GifDeleteFrame Method
GdPicture image identifier. The editable multiframe gif image in which a frame will be deleted.
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.





In This Topic
GifDeleteFrame Method (GdPictureImaging)
In This Topic
Deletes the frame of an editable multiframe gif image at a selected position.
Syntax
'Declaration
 
Public Function GifDeleteFrame( _
   ByVal ImageID As Integer, _
   ByVal Frame As Integer _
) As GdPictureStatus
public GdPictureStatus GifDeleteFrame( 
   int ImageID,
   int Frame
)
public function GifDeleteFrame( 
    ImageID: Integer;
    Frame: Integer
): GdPictureStatus; 
public function GifDeleteFrame( 
   ImageID : int,
   Frame : int
) : GdPictureStatus;
public: GdPictureStatus GifDeleteFrame( 
   int ImageID,
   int Frame
) 
public:
GdPictureStatus GifDeleteFrame( 
   int ImageID,
   int Frame
) 

Parameters

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.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
This method 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() method.

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

This method requires the Image Documents component to run.

See Also