SaveCopyAs Method

Description Saves a copy of the ImageFile object as another ImageFile object. You may specify the FileType of the destination file. The FileType can be TIFF, AWD, or BMP.

This method allows you to specify the new object's image parameters. If specified, the file can be converted from one type to another. The current image file remains the active image file. This method can only be used after launching the embedded server application in a separate window.

Data TypeString

Syntax ImageFileObject.SaveCopyAs (ImageFile, FileType, DisplayUIFlag)

Remarks The SaveCopyAs method uses these parameters:

Parameter Data Type Description
ImageFile String The destination's ImageFile object name string
FileType Short Image file type to save to. This number must be a constant. It must be present in the command if the dialog flag option is used, even though it's value is ignored when the DisplayUIFlag is set to True."
DisplayUIFlag Flag True — Displays a dialog box that allows the end-user to enter or select a filename and options for saving the file
False (Default) — Does not display a dialog box