Visual Basic Reference
Returns or sets a value that determines whether background text and graphics on a Form or Printer object or a PictureBox control are displayed in the spaces around characters.
object.FontTransparent [= boolean]
The FontTransparent property syntax has these parts:
|object||An object expression that evaluates to an object in the Applies To list.|
|boolean||A Boolean expression specifying the state of background text and graphics, as described in Settings.|
The settings for boolean are:
|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 doesn't affect graphics and text already drawn to Form, Printer, or PictureBox.