Sets or returns the text's alignment option. Read/write VbtTextAlign.
| VbtTextAlign can be one of the following: |
| vbtLeftAlign Align Left |
| vbtCenterAlign Align Center |
| vbtRightAlign Align Right |
The following example assigns text to a Bot object and modifies the Text object properties.
Bot.Text.Caption = "Prey"
Bot.Text.XOffset = 10
Bot.Text.YOffset = 10
Bot.Text.Alignment = vbtRightAlign
Bot.Text.Bold = True
Bot.Text.Underline = True
Bot.Text.Italic = True
Bot.Text.Rotation = 45
Bot.Text.FontFace = "Arial"