Center Property

Applies to TestComplete 14.0, last modified on January 23, 2019

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