Button.TextImageRelation

Syntax

Button.TextImageRelation

Data Type

TextImageRelations

Use the following constants with this data type:

  • TextImageRelation_ImageAboveText –(Value: 2) Displays the image above the text.
  • TextImageRelation_ImageAfterText –(Value: 4) Displays the image to the right of the text.
  • TextImageRelation_ImageBeforeText –(Value: 3) Displays the image to the left of the text.
  • TextImageRelation_ImageBelowText –(Value: 1) Displays the image below the text.
  • TextImageRelation_Overlay –(Value: 0) Displays the image behind the text.

Purpose

Specifies how to display the image in relation to the text on the Button control.

Remarks

This property has an effect only when the Button.ImageAlignment and Button.TextAlignment properties are set to the same value. When the values are different, TestStand ignores the Button.TextImageRelation property.

See Also

Button.ImageAlignment

Button.ShowImage

Button.ShowText

Button.TextAlignment