GdPicture image identifier. The multiframe gif image. (Can be an editable multiframe gif or a read-only gif image.)





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / GifGetLoopCount Method

GifGetLoopCount Method (GdPictureImaging)

In This Topic
Returns the "Loop Count" of a multiframe gif image. A Loop Count is the number of times an animation of the multiframe gif shall be played.
Syntax
'Declaration

 

Public Function GifGetLoopCount( _

   ByVal ImageID As Integer _

) As Integer
public int GifGetLoopCount( 

   int ImageID

)
public function GifGetLoopCount( 

    ImageID: Integer

): Integer; 
public function GifGetLoopCount( 

   ImageID : int

) : int;
public: int GifGetLoopCount( 

   int ImageID

) 
public:

int GifGetLoopCount( 

   int ImageID

) 

Parameters

ImageID
GdPicture image identifier. The multiframe gif image. (Can be an editable multiframe gif or a read-only gif image.)

Return Value

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

This method requires the Image Documents component to run.

This method works with both editable multiframe gif images and ones opened as read-only.
See Also