TPicture.SaveToFile

Applies to TestComplete 12.60, last modified on September 17, 2018

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