TiffAppendPageFromFile Method

See Also     Examples     Applies To

Appends a new page from file to the end of an editable multipage tiff image.

Syntax

object.TiffAppendPageFromFile (nImageID, sFilePath)

The TiffAppendPageFromFile 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 tiff image in which the page will be added.
sFilePath Required. String. The path of the image to append within the editable multipage tiff image.

Returns

Long. GdPictureStatus

Remarks

This function can only be used with an editable multipage tiff image.
To check if an image is an editable multipage tiff image you can use the TiffIsEditableMultiPage() function.
To save modifications brought to the multipage tiff image you need to use the TiffSaveMultiPageToFile() 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

Multipage TIFF Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.