Bold Property (ACommonDialog)

Returns or sets the Bold style of the Font dialog.

Syntax

Object.Bold [ = bBold ]

The Bold property syntax has the following parts:

 

Name

Type

Description

Object

ACommonDialog

ACommonDialog control

bBold

Bool

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

Where

bBold can be one of the following:

 

Value

Description

True

The font style is bold.

False *

The font style is not bold.

Comments

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

Example

The following example will set the initial font style to be bold:

cdlg1.Bold=True

Applies to

ACommonDialog

See Also

Font, Italic, Strikeout, Underline