GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / GifInsertFrameFromGdPictureImage Method
GdPicture image identifier. The editable multiframe gif image in which the frame will be inserted.
The position to add the new frame. Must be a value from 1 to the current number of frames available in the multiframe gif image.
GdPicture image identifier. The image to append within the editable multiframe gif image.





In This Topic
GifInsertFrameFromGdPictureImage Method (GdPictureImaging)
In This Topic
Inserts a new frame from a GdPicture image at the given position in an editable multiframe gif image. The frameposition has to be a number smaller or equal than the current number of frames available in the multiframe gif image.
Syntax
'Declaration
 
Public Function GifInsertFrameFromGdPictureImage( _
   ByVal ImageID As Integer, _
   ByVal Position As Integer, _
   ByVal ImageToAddID As Integer _
) As GdPictureStatus
public GdPictureStatus GifInsertFrameFromGdPictureImage( 
   int ImageID,
   int Position,
   int ImageToAddID
)
public function GifInsertFrameFromGdPictureImage( 
    ImageID: Integer;
    Position: Integer;
    ImageToAddID: Integer
): GdPictureStatus; 
public function GifInsertFrameFromGdPictureImage( 
   ImageID : int,
   Position : int,
   ImageToAddID : int
) : GdPictureStatus;
public: GdPictureStatus GifInsertFrameFromGdPictureImage( 
   int ImageID,
   int Position,
   int ImageToAddID
) 
public:
GdPictureStatus GifInsertFrameFromGdPictureImage( 
   int ImageID,
   int Position,
   int ImageToAddID
) 

Parameters

ImageID
GdPicture image identifier. The editable multiframe gif image in which the frame will be inserted.
Position
The position to add the new frame. Must be a value from 1 to the current number of frames available in the multiframe gif image.
ImageToAddID
GdPicture image identifier. The image to append within the editable multiframe gif image.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method can only be used with an editable multiframe gif image.

To check if an image is an editable multiframe gif image you can use the GifIsEditableMultiFrame() method.

To save modifications brought to the multiframe gif image you need to use the GifSaveMultiFrameToFile() method.

This method requires the Image Documents component to run.

See Also