GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / GifSetFrameTime Method
GdPicture image identifier. The multiframe gif image.
Frame no between 1 and frame count.
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)).





In This Topic
GifSetFrameTime Method (GdPictureImaging)
In This Topic
Sets 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)).
Syntax
'Declaration
 
Public Function GifSetFrameTime( _
   ByVal ImageID As Integer, _
   ByVal Frame As Integer, _
   ByVal FrameTime As Integer _
) As GdPictureStatus
public GdPictureStatus GifSetFrameTime( 
   int ImageID,
   int Frame,
   int FrameTime
)
public function GifSetFrameTime( 
    ImageID: Integer;
    Frame: Integer;
    FrameTime: Integer
): GdPictureStatus; 
public function GifSetFrameTime( 
   ImageID : int,
   Frame : int,
   FrameTime : int
) : GdPictureStatus;
public: GdPictureStatus GifSetFrameTime( 
   int ImageID,
   int Frame,
   int FrameTime
) 
public:
GdPictureStatus GifSetFrameTime( 
   int ImageID,
   int Frame,
   int FrameTime
) 

Parameters

ImageID
GdPicture image identifier. The multiframe gif image.
Frame
Frame no between 1 and frame count.
FrameTime
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)).

Return Value

A member of the GdPictureStatus enumeration.
Remarks
This method works with both editable multiframe gif images and ones opened as read-only.

This method requires the Image Documents component to run.

See Also