TBitmap.SaveToFile

Applies to TestComplete 14.40, last modified on April 22, 2021

Saves the image to the specified file.

Declaration

TBitmapObj.SaveToFile(FileName) Parameters
TBitmapObj     A TBitmap object  
FileName [in] Required String
Result     none  

Description

The TBitmap.SaveToFile method lets you save the image represented by the given TBitmap object to a file.

Parameters

The method has the following parameter:

FileName

The full file path to which you want to save the image. The file extension specifies the format of the saved file:
Format Extension
BMP .bmp or .dib
JPEG .jpg, .jpeg, .jpe or .jfif
PNG .png
TIFF .tif or .tiff
GIF .gif
ICO .ico

See Also

TBitmap.LoadFromFile

Highlight search results