TBitmap.SaveToFile

Applies to TestComplete 15.70, last modified on December 17, 2024

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