Picture Object Methods

Applies to TestComplete 15.0, last modified on October 14, 2021

The Picture object contains the following methods:

Method List

Name Description
Compare Compares the given image with another image and returns True or False depending on whether they are identical or not.
CreatePictureConfiguration Creates an ImageConfiguration object which you can use to specify image settings that are used to post the image to the test log or to save the image to a file.
Difference Compares the given image with another image and returns the image that indicates the difference between the compared images.
Find Returns a definite rectangular area of the given image.
GetRect Returns a new Picture object containing the specified rectangular region of the given picture.
LoadFromFile Loads the given image from a file.
SaveToClipboard Copies the given image to the Clipboard.
SaveToFile Saves the given image to a file.
Stretch Resizes the picture to the specified size.

See Also

Picture Object

Highlight search results