Picture Property

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

Returns the TBitmap object that holds the image displayed by the TImage component.

Declaration

componentObj.Picture
Read-Write Property A TBitmap object
componentObj     One of the components listed in the Applies To section  

Applies To

The property applies to the following components:

TImage

Description

Use the Picture property to obtain the TPicture object that provides access to the image displayed in the TImage component.

Property Value

A TBitmap object that provides access to the component’s image.

Remarks

At design time, you can specify an image and work with it using the Image Editor. To display the editor, press the ellipsis button within the Picture property cell.

At run time, you can use properties and methods of the returned TPicture object to obtain the image size, load a new image from a file or save the current image to a file.

See Also

TBitmap Object

Highlight search results