Center Property

Applies to TestComplete 15.45, last modified on December 01, 2022

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