TPicture.SaveToFile

Applies to TestComplete 14.93, last modified on October 12, 2021

Saves the image to the specified file.

Declaration

TPictureObj.SaveToFile(FileName) Parameters
TPictureObj     A TPicture object  
FileName [in] Required String
Result     none  

Description

The TPicture.SaveToFile method lets you save the image represented by the given TPicture 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

TPicture.LoadFromFile

Highlight search results