A common question in the TX Text Control Support Department is how to set the background image of TX Text Control .NET for Windows Forms. Generally speaking, this is really simple, as there is a property to adjust that, but you need to know which other settings are neccessary.

First of all, a background image can be only specified, if the SimpleControl ViewMode of TX Text Control .NET for Windows Forms is being used. Additionally, the BackColor property must be set to transparent.

TextControl1.ViewMode = TXTextControl.ViewMode.SimpleControl
TextControl1.BackColor = System.Drawing.Color.Transparent

After that, the background image can be set:

TextControl1.BackgroundImage = New System.Drawing.Bitmap("c:\winter.png")