VTextAlign

Applies to

PictureButton controls

Description

The HTextAlign property specifies how the text label for the PictureButton control is aligned in relation to the picture.

Usage

In a painter

To set the vertical alignment of text:

  • Select the desired alignment from the VTextAlign drop-down list on the General tab of the control's Properties view.

In scripts

The VTextAlign property takes a value of the VTextAlign enumerated datatype.

The following example specifies bottom alignment for text in a PictureButton:

pb_1.VTextAlign = Bottom!