Returns or sets a value that determines whether background text and graphics on a Form control are displayed in the spaces around characters.
object.FontTransparent [= boolean]
The parts of the FontTransparent property syntax are described in the following table.
Part | Description |
---|---|
object | An object expression that evaluates to an object. |
boolean | A Boolean expression specifying the state of background text and graphics, as described in Settings. |
The settings for boolean are described in the following table.
Setting | Description |
---|---|
True | (Default) Permits background graphics and text to show around the spaces of the characters in a font. |
False | Masks existing background graphics and text around the characters of a font. |
Set FontTransparent at design time using the Properties window or at run time using code. Changing FontTransparent at run time does not affect graphics and text already drawn to a Form property.