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

Returns the "frame time" of a frame of a multiframe gif image. 

Frame time is the amount of time in ms to display the frame for (GIF specific - the value stored in the file is centiseconds (1/100th of a second)).

C#
public int GifGetFrameTime(
    int ImageID, 
    int Frame
);
Visual Basic
Public Function GifGetFrameTime(
    ByVal ImageID As Integer, 
    ByVal Frame As Integer
) As Integer
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier. The multiframe gif image.  
Frame 
Frame no between 1 and frame count.  
Returns

The frame time of the selected frame of the 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.