Center Property

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

Specifies how an image is displayed within a component.

Declaration

componentObj.Center
Read-Write Property Boolean
componentObj     One of the user forms components or objects listed in the Applies To section  

Applies To

The property applies to the following component:

TImage

Description

Use the Center property to specify the position of an image within the TImage component. If Center is False, the image is aligned to the left and top borders of the component. If Center is True, the image is centered within the object.

Property Value

True, if the image is centered; False otherwise.

See Also

TImage Object

Highlight search results