DBPix Documentation
Version 2.0

ImageSaveFile Method


Description:  Saves the image to the disk file specified in the Filename argument
Syntax:  boolean ImageSaveFile(BSTR FileName)
Return Value:  
True    The image was saved successfully.
False    An error occurred.
Arguments:  

Name    Type    Description

FileName    BSTR    The destination path and filename.

Remarks:  

The image format is determined from the extension of the target file: (jpg, jpeg or jif to save a JPEG file, png to save a PNG file, bmp to save a Windows Bitmap file).

Images can also be saved via the context-menu at runtime (the ViewMenuMode property controls which menu-items are displayed at runtime).

See also the ImageSave method, which prompts the user to choose a file using the common File-Open dialog.

 

 

Documentation version 2.0.0