GifInsertPageFromFile Method

See Also     Examples     Applies To

Inserts a new page from file at the given position an editable multipage Gif image. Page has to be a number smaller or equal than the current number of pages available in the multipage Gif image.

Syntax

object.GifInsertPageFromFile (nImageID, nPosition, sFilePath)

The GifInsertPageFromFile syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nImageID Required. Long. GdPicture Image handle. The editable multipage Gif image in which the page will be inserted.
nPosition Required. Long. The position to add the new page. Must be a value from 1 to the current number of pages available in the multipage Gif image.
sFilePath Required. String. The path of the image to append within the editable multipage Gif image.

Returns

Long. GdPictureStatus

Remarks

This function can only be used with an editable multipage Gif image.
To check if an image is an editable multipage Gif image you can use the GifIsEditableMultiPage() function.
To save modifications brought to the multipage Gif image you need to use the GifSaveMultiPageToFile() function.
Supported formats are BMP, DIB, RLE, ICO, EMF, WMF, GIF, ANIMATED GIF, JPEG, JPG, JPE, JFIF, PNG, TIFF, MULTIPAGE TIFF, PNM, PPM, PBM, PFM, PGM, RPPM, RPGM, RPBM, PCX.
Redistributing the optional gdimgplug.dll library you will also be able to read XPM, XBM, WBMP, TGA, SGI, RAW, PICT, Sun RAS, PSD, MNG, Kodak PhotoCD files, KOALA files, JP2, J2K, JNG, JBIG, IFF, HDR, Raw Fax G3, EXR, DDS and Dr. Halo files.

Category

Gif Manipulation





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.