Returns or sets the Bold style of the Font dialog.
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. |
bBold can be one of the following:
Value |
Description |
True |
The font style is bold. |
False * |
The font style is not bold. |
To use this property, the acdlgFontOptionsEffects flag in the FontOptions property must be set.
The following example will set the initial font style to be bold:
cdlg1.Bold=True