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

Sets the loop count of a multiframe gif image.

C#
public GdPictureStatus GifSetLoopCount(
    int ImageID, 
    int LoopCount
);
Visual Basic
Public Function GifSetLoopCount(
    ByVal ImageID As Integer, 
    ByVal LoopCount As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier. The multiframe gif image. (Can be an editable multiframe gif or a read only gif image.)  
LoopCount 
The number of times the animation should be played. Between 0 and 65536. 0 = infinite.  
Returns

A member of the GdPictureStatus enumeration.

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.