Underline Property (ACommonDialog)

Returns or sets the Underline style of the Font dialog.

Syntax

Object.Underline [ = bUnderline ]

The Underline property syntax has the following parts:

 

Name

Type

Description

Object

ACommonDialog

ACommonDialog control

bUnderline

Bool

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

Where

bUnderline can be one of the following:

 

Value

Description

True

The font style is Underline.

False *

The font style is not Underline.

Comments

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

Example

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

cdlg1.Underline=True

Applies to

ACommonDialog

See Also

Bold, Font, Italic, Strikeout