Strikeout Property (ACommonDialog)

Returns or sets the Strikeout style of the Font dialog.

Syntax

Object.Strikeout [ = bStrikeout ]

The Strikeout property syntax has the following parts:

 

Name

Type

Description

Object

ACommonDialog

ACommonDialog control

bStrikeout

Bool

A boolean expression that specifies whether the Font is Strikeout or not.

Where

bStrikeout can be one of the following:

 

Value

Description

True

The font style is Strikeout.

False *

The font style is not Strikeout.

Comments

To use this property, the acdlgFontOptionsEffects flag in the FontOptions property must be set.

Example

The following example will set the font style to be Strikeout:

cdlg1.Strikeout=True

Applies to

ACommonDialog

See Also

Bold, Font, Italic, Underline