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

Returns the number of frame currently available in a multiframe gif image.

C#
public int GifGetFrameCount(
    int ImageID
);
Visual Basic
Public Function GifGetFrameCount(
    ByVal ImageID As Integer
) As Integer
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier. The multiframe gif image.  
Returns

Number of frames currently available in the multiframe gif image. Returns 0 if the image is not a multiframe gif image.

This function works with editable multiframe gif images and with multiframe gif images opened as read only.

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