FontStrikethru

This property returns and sets the Strikethrough style in the following formats: Bold, Italic, Strikethru, and Underline.

Syntax

object.FontStrikethru [= Boolean]

Parameters

object
An object expression that evaluates to a control or Form object.
Boolean
Boolean expression specifying the font style. Following are the settings for Boolean:
True
Turns on the formatting in that style
False
Turns off the formatting in that style (default)

Remarks

Use the FontStrikethru property to format text, either at design time using the Properties window or at run time using code. For Form object, setting this property does not affect graphics or text already drawn on the control or object. For all other controls, font changes take effect on screen immediately.

To use this property with the CommonDialog control, the Effects flag must be set.

Available fonts vary depending on your system configuration, display devices, and printing devices. You can set font-related properties only to values for which actual fonts exist.