FontFace Property

See Also Applies To Example Model

Sets or returns the text's font style. Read/write Long.

Example

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"