CopyTiffImageInFile  Method

Description         Copies one image of a tiff file to another tiff file. For large multipage tiff files use the CopyTiffImage method instead.

Syntax                 RetVal = [BITIFF.]CopyTiffImageInFile  SourceFile Image DestinationFile Mode

Returns               RetVal                    Boolean           Returns true on success, otherwise false.

Remarks             SourceFile              Stirng              The name of the tiff file which contains the image to be copied.

                            Image                     Integer             The position of the image to copy. The first image is 0.

                            DestinationFile      String              The name of the tiff file to create, overwrite or append with the selected image.

                            Mode                      Integer             The mode of the coping procedure:

                                                                  tifomAppend= 2  Appends to an existing file or creates a new one, if the specified file does not exist.

                                                                  tifomCreate= 3    Create a new file, or overwrite an existing one.

See Also              SetByteOrder Method