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

Returns the loop count of a multiframe gif image.

C#
public int GifGetLoopCount(
    int ImageID
);
Visual Basic
Public Function GifGetLoopCount(
    ByVal ImageID As Integer
) As Integer
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier. The multiframe gif image. (Can be an editable multiframe gif or a read only gif image.)  
Returns

The number of times the animation should be played. 0 = infinite.

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.