ContentAlignment Property

Applies to TestComplete 15.52, last modified on June 06, 2023

Specifies the alignment of the button caption.


Read-Write Property String
itemObj     One of the objects listed in the Applies To section  

Applies To

This property applies to the following objects:



Use the ContentAlignment property to get or set the alignment of the caption text within the button control.

Property Value

One of the following string constants:

Value Description
taCenter The caption text is centered. This is the default value.
taLeftJustify The caption text is aligned left.
taRightJustify The caption text is aligned right.
Highlight search results