GdPicture image identifier. The multiframe gif image.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / GifGetCurrentFrame Method

GifGetCurrentFrame Method (GdPictureImaging)

In This Topic
Gets the current frame (or selected frame) in a multiframe gif image.
Syntax
'Declaration
 
Public Function GifGetCurrentFrame( _
   ByVal ImageID As Integer _
) As Integer
public int GifGetCurrentFrame( 
   int ImageID
)
public function GifGetCurrentFrame( 
    ImageID: Integer
): Integer; 
public function GifGetCurrentFrame( 
   ImageID : int
) : int;
public: int GifGetCurrentFrame( 
   int ImageID
) 
public:
int GifGetCurrentFrame( 
   int ImageID
) 

Parameters

ImageID
GdPicture image identifier. The multiframe gif image.

Return Value

Returns the current frame of the multiframe gif image. Returns 0 if the image is not valid or has no selected frame.
Remarks
This method works with both editable multiframe gif images and ones opened as read-only.
See Also